You are here

protected function PluginBase::defineOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::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.

17 calls to PluginBase::defineOptions()
DisplayExtenderTest::defineOptions in core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest.php
Information about options for all kinds of purposes will be held here.
ExposedFormPluginBase::defineOptions in core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
Information about options for all kinds of purposes will be held here.
HandlerBase::defineOptions in core/modules/views/src/Plugin/views/HandlerBase.php
Information about options for all kinds of purposes will be held here.
None::defineOptions in core/modules/views/src/Plugin/views/pager/None.php
Information about options for all kinds of purposes will be held here.
Permission::defineOptions in core/modules/user/src/Plugin/views/access/Permission.php
Information about options for all kinds of purposes will be held here.

... See full list

18 methods override PluginBase::defineOptions()
ArgumentDefaultPluginBase::defineOptions in core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php
Retrieve the options when this is a new access control plugin
ArgumentValidatorPluginBase::defineOptions in core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php
Retrieve the options when this is a new access control plugin
DisplayExtenderTest::defineOptions in core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest.php
Information about options for all kinds of purposes will be held here.
DisplayPluginBase::defineOptions in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Information about options for all kinds of purposes will be held here.
ExposedFormPluginBase::defineOptions in core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
Information about options for all kinds of purposes will be held here.

... See full list

File

core/modules/views/src/Plugin/views/PluginBase.php, line 163
Contains \Drupal\views\Plugin\views\PluginBase.

Class

PluginBase
Base class for any views plugin types.

Namespace

Drupal\views\Plugin\views

Code

protected function defineOptions() {
  return array();
}