You are here

public function HandlerBase::validate in Drupal 8

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

1 call to HandlerBase::validate()
DisplayLink::validate in core/modules/views/src/Plugin/views/area/DisplayLink.php
Validate that the plugin is correct and can be saved.
2 methods override HandlerBase::validate()
DisplayLink::validate in core/modules/views/src/Plugin/views/area/DisplayLink.php
Validate that the plugin is correct and can be saved.
FilterPluginBase::validate in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Validate that the plugin is correct and can be saved.

File

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

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

public function validate() {
  return [];
}