Skip to content
Snippets Groups Projects
Commit 4f972ee6 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1222802 by franz, droplet, jhodgdon, Krasnyj: Fixed theme_pager_link()...

Issue #1222802 by franz, droplet, jhodgdon, Krasnyj: Fixed theme_pager_link() doc missing 'text' variable.
parent ffb3b76c
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ public function limit($limit = 10) {
* Note that no collision detection is done when setting an element ID
* explicitly, so it is possible for two pagers to end up using the same ID
* if both are set explicitly.
*
*
* @param $element
*/
public function element($element) {
......@@ -574,13 +574,20 @@ function theme_pager_last($variables) {
*
* @param $variables
* An associative array containing:
* - text: The link text. Also used to figure out the title attribute of the
* link, if it is not provided in $variables['attributes']['title']; in
* this case, $variables['text'] must be one of the standard pager link
* text strings that would be generated by the pager theme functions, such
* as a number or t('« first').
* - page_new: The first result to display on the linked page.
* - element: An optional integer to distinguish between multiple pagers on
* one page.
* - parameters: An associative array of query string parameters to append to
* the pager link.
* - attributes: An associative array of HTML attributes to apply to a pager
* anchor tag.
* - attributes: An associative array of HTML attributes to apply to the
* pager link.
*
* @see theme_pager()
*
* @ingroup themeable
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment