1.20.x layout.admin.inc layout_condition_add_form_validate($form, &$form_state)

Validation handler for layout_condition_add_form().

File

modules/layout/layout.admin.inc, line 1988
Admin page callbacks for the Layout module.

Code

function layout_condition_add_form_validate($form, &$form_state) {
  if (isset($form_state['handler'])) {
    /* @var LayoutAccess $handler */
    $handler = $form_state['handler'];
    $handler->formValidate($form, $form_state);
  }
}