You are here

public function LingotekInterfaceTranslationForm::clearInterfaceMetadata in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 4.0.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::clearInterfaceMetadata()
  2. 3.2.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::clearInterfaceMetadata()
  3. 3.3.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::clearInterfaceMetadata()
  4. 3.4.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::clearInterfaceMetadata()
  5. 3.5.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::clearInterfaceMetadata()
  6. 3.7.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::clearInterfaceMetadata()
  7. 3.8.x src/Form/LingotekInterfaceTranslationForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationForm::clearInterfaceMetadata()

File

src/Form/LingotekInterfaceTranslationForm.php, line 329

Class

LingotekInterfaceTranslationForm
Class LingotekInterfaceTranslationForm.

Namespace

Drupal\lingotek\Form

Code

public function clearInterfaceMetadata(array &$form, FormStateInterface $form_state) {

  // Redirect to the confirmation form.
  $form_state
    ->setRedirect('lingotek.manage_interface_translation.clear_metadata');
}