You are here

public function ViewsPluginInterface::validate in Drupal 10

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

File

core/modules/views/src/Plugin/views/ViewsPluginInterface.php, line 158

Class

ViewsPluginInterface
Provides an interface for all views plugins.

Namespace

Drupal\views\Plugin\views

Code

public function validate();