public function DisplayPluginInterface::validate in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::validate()
- 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::validate()
Make sure the display and all associated handlers are valid.
Return value
Empty array if the display is valid; an array of error strings if it is not.
1 method overrides DisplayPluginInterface::validate()
- PathPluginBase::validate in core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php - Make sure the display and all associated handlers are valid.
File
- core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginInterface.php, line 523
Class
- DisplayPluginInterface
- Provides an interface for Views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function validate();