Created
June 1, 2015 18:14
-
-
Save Josh-Miller/1e47b20a888f074bbc13 to your computer and use it in GitHub Desktop.
Overwrite pager names in Drupal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_preprocess_pager(). | |
*/ | |
function THEME_preprocess_pager(&$vars, $hook) { | |
$vars['tags'][0] = 'first'; | |
$vars['tags'][1] = 'previous'; | |
$vars['tags'][3] = 'next'; | |
$vars['tags'][4] = 'last'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment