protected function EntityPager::getDefaultOptions in Entity Pager 8
Returns an array of default options for the entity pager.
Return value
array The default options.
2 calls to EntityPager::getDefaultOptions()
- EntityPager::defineOptions in src/
Plugin/ views/ style/ EntityPager.php - Information about options for all kinds of purposes will be held here.
- EntityPager::getOption in src/
Plugin/ views/ style/ EntityPager.php - Returns a value for an option.
File
- src/
Plugin/ views/ style/ EntityPager.php, line 51
Class
- EntityPager
- Style plugin to render a view for an Entity Pager.
Namespace
Drupal\entity_pager\Plugin\views\styleCode
protected function getDefaultOptions() {
return [
'relationship' => NULL,
'link_next' => 'next >',
'link_prev' => '< prev',
'link_all_url' => '<front>',
'link_all_text' => 'Home',
'display_all' => TRUE,
'display_count' => TRUE,
'show_disabled_links' => TRUE,
'circular_paging' => FALSE,
'log_performance' => TRUE,
];
}