function date_views_plugin_pager::option_definition in Date 8
Same name and namespace in other branches
- 7.3 date_views/includes/date_views_plugin_pager.inc \date_views_plugin_pager::option_definition()
- 7.2 date_views/includes/date_views_plugin_pager.inc \date_views_plugin_pager::option_definition()
Tell Views what options this plugin can store.
File
- date_views/
includes/ date_views_plugin_pager.inc, line 75 - Date pager. Works with a Date argument, the argument filters the view and the pager provides back/next navigation.
Class
- date_views_plugin_pager
- Example plugin to handle paging by month.
Code
function option_definition() {
$options = parent::option_definition();
$options['date_id'] = array(
'default' => 'date',
);
$options['pager_position'] = array(
'default' => 'top',
);
$options['link_format'] = array(
'default' => 'pager',
);
$options['date_argument'] = array(
'default' => 'Unknown',
);
$options['granularity'] = array(
'default' => 'Unknown',
);
return $options;
}