function HandlerBase::defineExtraOptions

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::defineExtraOptions()
  2. 8.9.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::defineExtraOptions()
  3. 10 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::defineExtraOptions()

Provide defaults for the handler.

Parameters

array $option: An array of options.

Deprecated

in drupal:11.2.0 and is removed from drupal:12.0.0. This method is no longer used by Drupal core. There is no replacement.

See also

https://www.drupal.org/node/3486781

File

core/modules/views/src/Plugin/views/HandlerBase.php, line 408

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

public function defineExtraOptions(&$option) {
    @trigger_error('defineExtraOptions() is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. This method is no longer in use and should not be called. See https://www.drupal.org/node/3486781', E_USER_DEPRECATED);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.