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 Date::defineOptions
File
- src/
Plugin/ views/ field/ Date.php, line 32 - Contains \Drupal\views_xml_backend\Plugin\views\field\Date.
Class
- Date
- A handler to provide an XML date field.
Namespace
Drupal\views_xml_backend\Plugin\views\fieldCode
protected function defineOptions() {
return parent::defineOptions() + $this
->getDefaultXmlOptions();
}