You are here

public function PluginBase::validate 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::validate()

Validate that the plugin is correct and can be saved.

Return value

An array of error strings to tell the user what is wrong with this plugin.

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.
5 methods override PluginBase::validate()
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.
StylePluginBase::validate in core/modules/views/src/Plugin/views/style/StylePluginBase.php
Validate that the plugin is correct and can be saved.

File

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

Class

PluginBase
Base class for any views plugin types.

Namespace

Drupal\views\Plugin\views

Code

public function validate() {
  return array();
}