You are here

protected function PluginBase::defineOptions in Drupal 10

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

6 calls to PluginBase::defineOptions()
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.
Role::defineOptions in core/modules/user/src/Plugin/views/access/Role.php
Information about options for all kinds of purposes will be held here.
Some::defineOptions in core/modules/views/src/Plugin/views/pager/Some.php
Information about options for all kinds of purposes will be held here.
SqlBase::defineOptions in core/modules/views/src/Plugin/views/pager/SqlBase.php
Information about options for all kinds of purposes will be held here.

... See full list

10 methods override 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.
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.
Role::defineOptions in core/modules/user/src/Plugin/views/access/Role.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 158

Class

PluginBase

Namespace

Drupal\views\Plugin\views

Code

protected function defineOptions() {
  return [];
}