1.20.x config.admin.inc config_export_full_form(array $form, array $form_state)

Form callback; Provide a form for exporting the current configuration.

File

modules/config/config.admin.inc, line 177
Admin page callbacks for the Configuration Management module.

Code

function config_export_full_form(array $form, array $form_state) {
  $form['description'] = array(
    '#markup' => '<p>' . t('This form may be used to generate a full export of your entire site\'s configuration. This configuration file should remain compressed when you upload it to the destination site.') . '</p>',
  );
  $form['actions'] = array('#type' => 'actions');
  $form['actions']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Export'),
  );
  return $form;
}