function rules_ui_form_export_rules_config
A simple form just showing a textarea with the export.
1 string reference to 'rules_ui_form_export_rules_config'
- RulesUIController::config_menu in ui/
ui.controller.inc - Generates menu items to manipulate rules configurations.
File
-
ui/
ui.forms.inc, line 103
Code
function rules_ui_form_export_rules_config($form, &$form_state, $rules_config, $base_path) {
$form['export'] = array(
'#type' => 'textarea',
'#title' => t('Export'),
'#description' => t('For importing copy the content of the text area and paste it into the import page.'),
'#rows' => 25,
'#default_value' => $rules_config->export(),
);
return $form;
}