public function PluginBase::validate in Drupal 9
Same name and namespace in other branches
- 8 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.
6 methods override PluginBase::validate()
- DisplayExtenderTest3::validate in core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ display_extender/ DisplayExtenderTest3.php - Validate that the plugin is correct and can be saved.
- 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.
File
- core/
modules/ views/ src/ Plugin/ views/ PluginBase.php, line 306
Class
- PluginBase
- Base class for any views plugin types.
Namespace
Drupal\views\Plugin\viewsCode
public function validate() {
return [];
}