function views_plugin::validate

3.x plugins.inc views_plugin::validate()
2.x 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.

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 552
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();
}