You are here

function entity_translation_upgrade_submit in Entity Translation 7

Submit handler for the entity_translation_admin_form() form.

1 string reference to 'entity_translation_upgrade_submit'
entity_translation_upgrade_form_entity_translation_admin_form_alter in entity_translation_upgrade/entity_translation_upgrade.module
Implements hook_form_FORM_ID_alter().

File

entity_translation_upgrade/entity_translation_upgrade.module, line 111
Provides permanent redirects for unavailable node translations.

Code

function entity_translation_upgrade_submit($form, &$form_state) {
  module_load_include('inc', 'entity_translation_upgrade', 'entity_translation_upgrade.admin');
  entity_translation_upgrade_start(array_filter($form_state['values']['types']));
}