protected function Date::defineOptions in Views XML Backend 8
Same name in this branch
- 8 src/Plugin/views/filter/Date.php \Drupal\views_xml_backend\Plugin\views\filter\Date::defineOptions()
- 8 src/Plugin/views/argument/Date.php \Drupal\views_xml_backend\Plugin\views\argument\Date::defineOptions()
- 8 src/Plugin/views/field/Date.php \Drupal\views_xml_backend\Plugin\views\field\Date::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 ArgumentPluginBase::defineOptions
File
- src/
Plugin/ views/ argument/ Date.php, line 29 - Contains \Drupal\views_xml_backend\Plugin\views\argument\Date.
Class
- Date
- Date XML argument handler.
Namespace
Drupal\views_xml_backend\Plugin\views\argumentCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['xpath_selector']['default'] = '';
return $options;
}