function rules_ui_form_default_ajax

Defines #ajax properties.

9 calls to rules_ui_form_default_ajax()
RulesPluginUI::getParameterForm in ui/ui.core.inc
Actually generates the parameter form for the given data type.
RulesPluginUI::settingsForm in ui/ui.core.inc
Adds the configuration settings form (label, tags, description, ...).
rules_action_data_calc_form_alter in modules/data.rules.inc
Form alter callback for the data calculation action.
rules_action_type_form_alter in modules/data.rules.inc
Form alter callback for actions relying on the entity type or the data type.
rules_condition_data_is_form_alter in modules/data.rules.inc
Form alter callback for the condition data_is.

... See full list

File

ui/ui.forms.inc, line 18

Code

function rules_ui_form_default_ajax($effect = 'slide') {
    return array(
        'callback' => 'rules_ui_form_ajax_reload_form',
        'wrapper' => 'rules-form-wrapper',
        'effect' => $effect,
        'speed' => 'fast',
    );
}