function pager_example_theme
Same name in other branches
- 4.0.x modules/pager_example/pager_example.module \pager_example_theme()
Implements hook_theme().
Related topics
File
-
modules/
pager_example/ pager_example.module, line 20
Code
function pager_example_theme() {
// We use a template file to allow for translation of blocks of content.
// Therefore we need to add this content at the theming layer.
return [
'pager_example_description' => [
'template' => 'description',
'variables' => [],
],
];
}