You are here

function panelizer_settings_page_form_validate in Panelizer 7.2

Same name and namespace in other branches
  1. 7.3 includes/admin.inc \panelizer_settings_page_form_validate()

File

includes/admin.inc, line 180
Contains administrative forms and settings.

Code

function panelizer_settings_page_form_validate($form, &$form_state) {
  $plugins = panelizer_get_entity_plugins();
  foreach ($plugins as $entity_type => $plugin) {
    $entity_info = entity_get_info($entity_type);
    if ($entity_info) {
      if ($handler = panelizer_entity_plugin_get_handler($entity_type)) {
        $handler
          ->settings_form_validate($form, $form_state);
      }
    }
  }
}