function views_plugin::validate in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 includes/plugins.inc \views_plugin::validate()
- 7.3 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 405 - plugins.inc Built in plugins for Views output handling.
Class
- views_plugin
- Abstract base class to provide interface common to all plugins.
Code
function validate() {
return array();
}