pager_example.module
Same filename in other branches
Pager Example.
File
-
modules/
pager_example/ pager_example.module
View source
<?php
/**
* @file
* Pager Example.
*/
/**
* @defgroup pager_example Example: Pager
* @ingroup examples
* @{
* Output nodes in the table with pagination.
*
* @see \Drupal\Core\Database\Query\PagerSelectExtender
*/
/**
* Implements hook_theme().
*/
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' => [],
],
];
}
/**
* @} End of "defgroup pager_example".
*/
Functions
Title | Deprecated | Summary |
---|---|---|
pager_example_theme | Implements hook_theme(). |