You are here

protected function TokenizeAreaPluginBase::defineOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 27
Contains \Drupal\views\Plugin\views\area\TokenizeAreaPluginBase.

Class

TokenizeAreaPluginBase
Tokenized base class for area handlers.

Namespace

Drupal\views\Plugin\views\area

Code

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