You are here

protected function Date::defineOptions in Views XML Backend 8

Same name in this branch
  1. 8 src/Plugin/views/filter/Date.php \Drupal\views_xml_backend\Plugin\views\filter\Date::defineOptions()
  2. 8 src/Plugin/views/argument/Date.php \Drupal\views_xml_backend\Plugin\views\argument\Date::defineOptions()
  3. 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\field

Code

protected function defineOptions() {
  return parent::defineOptions() + $this
    ->getDefaultXmlOptions();
}