function views_plugin::validate
Same name in other branches
- 7.x-3.x includes/plugins.inc \views_plugin::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.
1 call to views_plugin::validate()
- views_plugin_style::validate in plugins/
views_plugin_style.inc - Validate that the plugin is correct and can be saved.
2 methods override views_plugin::validate()
- views_plugin_display::validate in plugins/
views_plugin_display.inc - Make sure the display and all associated handlers are valid.
- views_plugin_style::validate in plugins/
views_plugin_style.inc - Validate that the plugin is correct and can be saved.
File
-
includes/
plugins.inc, line 530
Class
- views_plugin
- Abstract base class to provide interface common to all plugins.
Code
function validate() {
return array();
}