protected function CalendarPager::defineOptions in Calendar 8
Same name and namespace in other branches
- 8.2 src/Plugin/views/pager/CalendarPager.php \Drupal\calendar\Plugin\views\pager\CalendarPager::defineOptions()
Information about options for all kinds of purposes will be held here.
'option_name' => array(
- 'default' => default value,
- 'contains' => (optional) array of items this contains, with its own
defaults, etc. If contains is set, the default will be ignored and
assumed to be array().
),
Return value
array Returns the options of this handler/plugin.
Overrides PluginBase::defineOptions
File
- src/
Plugin/ views/ pager/ CalendarPager.php, line 143
Class
- CalendarPager
- The plugin to handle calendar pager.
Namespace
Drupal\calendar\Plugin\views\pagerCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['exclude_display'] = [
'default' => FALSE,
];
return $options;
}