function rules_admin_add_component_validate

Validation callback for adding a component.

File

rules_admin/rules_admin.inc, line 420

Code

function rules_admin_add_component_validate($form, &$form_state) {
    if (isset($form_state['rules_config'])) {
        $form_state['rules_config']->form_validate($form, $form_state);
    }
}