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
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php, line 220
- Definition of Drupal\views\Plugin\views\PluginBase.
Class
- PluginBase
Namespace
Drupal\views\Plugin\views
Code
public function validate() {
return array();
}