public function 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.

2 calls to PluginBase::validate()
RssFields::validate in drupal/core/modules/views/lib/Drupal/views/Plugin/views/row/RssFields.php
Validate that the plugin is correct and can be saved.
StylePluginBase::validate in drupal/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php
Validate that the plugin is correct and can be saved.
4 methods override PluginBase::validate()
DisplayPluginBase::validate in drupal/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
Make sure the display and all associated handlers are valid.
HandlerBase::validate in drupal/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php
Validates the handler against the complete View.
RssFields::validate in drupal/core/modules/views/lib/Drupal/views/Plugin/views/row/RssFields.php
Validate that the plugin is correct and can be saved.
StylePluginBase::validate in drupal/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php
Validate that the plugin is correct and can be saved.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php, line 202
Definition of Drupal\views\Plugin\views\PluginBase.

Class

PluginBase

Namespace

Drupal\views\Plugin\views

Code

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