function views_plugin::validate
Same name in other branches
- 6.x-3.x includes/plugins.inc \views_plugin::validate()
Validate that the plugin is correct and can be saved.
Return value
array An array of error strings to tell the user what is wrong with this plugin.
2 calls to views_plugin::validate()
- views_plugin_row_rss_fields::validate in plugins/
views_plugin_row_rss_fields.inc - Validate that the plugin is correct and can be saved.
- views_plugin_style::validate in plugins/
views_plugin_style.inc - Validate that the plugin is correct and can be saved.
3 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_row_rss_fields::validate in plugins/
views_plugin_row_rss_fields.inc - Validate that the plugin is correct and can be saved.
- 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 562
Class
- views_plugin
- Abstract base class to provide interface common to all plugins.
Code
public function validate() {
return array();
}