public function DisplayExtenderTest3::validate in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest3.php \Drupal\views_test_data\Plugin\views\display_extender\DisplayExtenderTest3::validate()
- 10 core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest3.php \Drupal\views_test_data\Plugin\views\display_extender\DisplayExtenderTest3::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 PluginBase::validate
File
- core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ display_extender/ DisplayExtenderTest3.php, line 18
Class
- DisplayExtenderTest3
- Defines the third display extender test plugin.
Namespace
Drupal\views_test_data\Plugin\views\display_extenderCode
public function validate() {
return [
'Display extender test error.',
];
}