function DisplayPluginInterface::validate

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::validate()
  2. 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::validate()
  3. 10 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

array Empty array if the display is valid; an array of error strings if it is not.

File

core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php, line 529

Class

DisplayPluginInterface
Provides an interface for Views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function validate();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.