You are here

protected function TokenizeAreaPluginBase::defineOptions in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php \Drupal\views\Plugin\views\area\TokenizeAreaPluginBase::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 AreaPluginBase::defineOptions

3 calls to TokenizeAreaPluginBase::defineOptions()
Entity::defineOptions in core/modules/views/src/Plugin/views/area/Entity.php
Information about options for all kinds of purposes will be held here.
Text::defineOptions in core/modules/views/src/Plugin/views/area/Text.php
Information about options for all kinds of purposes will be held here.
TextCustom::defineOptions in core/modules/views/src/Plugin/views/area/TextCustom.php
Information about options for all kinds of purposes will be held here.
3 methods override TokenizeAreaPluginBase::defineOptions()
Entity::defineOptions in core/modules/views/src/Plugin/views/area/Entity.php
Information about options for all kinds of purposes will be held here.
Text::defineOptions in core/modules/views/src/Plugin/views/area/Text.php
Information about options for all kinds of purposes will be held here.
TextCustom::defineOptions in core/modules/views/src/Plugin/views/area/TextCustom.php
Information about options for all kinds of purposes will be held here.

File

core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php, line 23

Class

TokenizeAreaPluginBase
Tokenized base class for area handlers.

Namespace

Drupal\views\Plugin\views\area

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['tokenize'] = [
    'default' => FALSE,
  ];
  return $options;
}