You are here

function scald_switch_to_feature_form_submit in Scald: Media Management made easy 7

Switch to feature form submission.

File

includes/scald.admin.inc, line 756

Code

function scald_switch_to_feature_form_submit($form, &$form_state) {
  variable_set('scald_switch_feature_export', TRUE);
  cache_clear_all();
  $message = '<p>' . t('You are now using the new Features export. Please make sure you have checked and recreated the features involved. Cache clear is necessary.') . '</p>';
  drupal_set_message($message, 'warning');
  $form_state['redirect'] = 'admin/structure/scald';
}