function rules_ui_add_event_page

Form builder for the "add event" page.

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

File

ui/ui.forms.inc, line 422

Code

function rules_ui_add_event_page($form, &$form_state, RulesTriggerableInterface $rules_config, $base_path) {
    RulesPluginUI::$basePath = $base_path;
    RulesPluginUI::formDefaults($form, $form_state);
    $form = rules_ui_add_event($form, $form_state, $rules_config, $base_path);
    $form['#validate'][] = 'rules_ui_add_event_validate';
    return $form;
}