interface PagererFactoryInterface in Pagerer 8
Provides an interface for the Pagerer factory.
Hierarchy
- interface \Drupal\pagerer\PagererFactoryInterface
Expanded class hierarchy of PagererFactoryInterface
All classes that implement PagererFactoryInterface
File
- src/
PagererFactoryInterface.php, line 8
Namespace
Drupal\pagererView source
interface PagererFactoryInterface {
/**
* Initialises the pagers.
*/
public function initPagers();
/**
* Returns the pager object for the specified pager element.
*
* @param int $element
* The pager element.
*
* @return \Drupal\pagerer\Pagerer
* The pager object.
*/
public function get($element);
/**
* Returns the array of pager objects.
*
* @return \Drupal\pagerer\Pagerer[]
* The array of pager objects.
*/
public function all();
}Members
|
Name |
Modifiers | Type | Description | Overrides |
|---|---|---|---|---|
|
PagererFactoryInterface:: |
public | function | Returns the array of pager objects. | 1 |
|
PagererFactoryInterface:: |
public | function | Returns the pager object for the specified pager element. | 1 |
|
PagererFactoryInterface:: |
public | function | Initialises the pagers. | 1 |