You are here

function views_rss_plugin_style_fields::options_validate in Views RSS 7.2

Same name and namespace in other branches
  1. 6.2 views/views_rss_plugin_style_fields.inc \views_rss_plugin_style_fields::options_validate()

Allow other modules to validate options form values prior to submit.

Overrides views_plugin_style::options_validate

File

views/views_rss_plugin_style_fields.inc, line 320
Extends the view_plugin_style class to provide new RSS view style.

Class

views_rss_plugin_style_fields
@file Extends the view_plugin_style class to provide new RSS view style.

Code

function options_validate(&$form, &$form_state) {
  foreach (module_implements('views_rss_options_form_validate') as $module) {
    $function = $module . '_views_rss_options_form_validate';
    $function($form, $form_state);
  }
}