function rules_ui_form_rules_config_confirm_op

Confirmation form for applying the operation to the config.

1 string reference to 'rules_ui_form_rules_config_confirm_op'
RulesUIController::config_menu in ui/ui.controller.inc
Generates menu items to manipulate rules configurations.

File

ui/ui.forms.inc, line 201

Code

function rules_ui_form_rules_config_confirm_op($form, &$form_state, $rules_config, $op, $base_path) {
    if (list($confirm_question, $description) = rules_ui_confirm_operations($op, $rules_config)) {
        RulesPluginUI::$basePath = $base_path;
        $form_state += array(
            'rules_config' => $rules_config,
            'op' => $op,
        );
        return confirm_form($form, $confirm_question, $base_path, $description, t('Confirm'), t('Cancel'));
    }
    else {
        drupal_not_found();
        exit;
    }
}