public function GeneratorInterface::pager in Style Guide 8
Same name and namespace in other branches
- 2.x src/GeneratorInterface.php \Drupal\styleguide\GeneratorInterface::pager()
Simulate Drupal pagination,.
Parameters
int $size: The number of page numbers to display.
int $total: The total number of pages to simulate.
Return value
array A Drupal pager HTML element.
1 method overrides GeneratorInterface::pager()
- Generator::pager in src/
Generator.php - Simulate Drupal pagination,.
File
- src/
GeneratorInterface.php, line 126
Class
- GeneratorInterface
- Interface GeneratorInterface.
Namespace
Drupal\styleguideCode
public function pager($size = 8, $total = 20);