You are here

function configuration_ui_export_form in Configuration Management 7.2

1 string reference to 'configuration_ui_export_form'
configuration_ui_menu in ui/configuration_ui.module
Implements hook_menu().

File

ui/configuration_ui.admin.inc, line 98
User interface functions for Configuration Management.

Code

function configuration_ui_export_form($form, &$form_state) {
  $configurations = ConfigurationManagement::allConfigurations();
  $form_state['table_header'] = array(
    'names' => t('Configuration'),
    'status' => t('Tracked'),
    'operations' => t('Operations'),
  );
  configuration_ui_configuration_list('export', $configurations, $form, $form_state);
  $form['buttons'] = array(
    '#theme' => 'configuration_ui_form_buttons',
    '#tree' => FALSE,
  );
  $form['buttons']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Export to Tar File'),
    '#submit' => array(
      'configuration_ui_export_to_tar_file_form_submit',
    ),
  );
  return $form;
}