function PluginBase::validate

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

Overrides ViewsPluginInterface::validate

3 calls to PluginBase::validate()
OpmlFields::validate in core/modules/views/src/Plugin/views/row/OpmlFields.php
Validate that the plugin is correct and can be saved.
RssFields::validate in core/modules/views/src/Plugin/views/row/RssFields.php
Validate that the plugin is correct and can be saved.
StylePluginBase::validate in core/modules/views/src/Plugin/views/style/StylePluginBase.php
Validate that the plugin is correct and can be saved.
6 methods override PluginBase::validate()
DisplayExtenderTest3::validate in core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest3.php
Validate that the plugin is correct and can be saved.
DisplayPluginBase::validate in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Validate that the plugin is correct and can be saved.
HandlerBase::validate in core/modules/views/src/Plugin/views/HandlerBase.php
Validate that the plugin is correct and can be saved.
OpmlFields::validate in core/modules/views/src/Plugin/views/row/OpmlFields.php
Validate that the plugin is correct and can be saved.
RssFields::validate in core/modules/views/src/Plugin/views/row/RssFields.php
Validate that the plugin is correct and can be saved.

... See full list

File

core/modules/views/src/Plugin/views/PluginBase.php, line 310

Class

PluginBase
Base class for any views plugin types.

Namespace

Drupal\views\Plugin\views

Code

public function validate() {
    return [];
}

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