You are here

private function MergeTermsConfirm::redirectToTermMergeForm in Term Merge 8

Sets a redirect to the term merge form.

Parameters

\Drupal\Core\Form\FormStateInterface $formState: The form state object to set the redirect on.

1 call to MergeTermsConfirm::redirectToTermMergeForm()
MergeTermsConfirm::submitForm in src/Form/MergeTermsConfirm.php
Plugin annotation @SuppressWarnings(camelCase);

File

src/Form/MergeTermsConfirm.php, line 228

Class

MergeTermsConfirm
Term merge confirm form.

Namespace

Drupal\term_merge\Form

Code

private function redirectToTermMergeForm(FormStateInterface $formState) {
  $parameters['taxonomy_vocabulary'] = $this->vocabulary
    ->id();
  $routeName = 'entity.taxonomy_vocabulary.merge_form';
  $formState
    ->setRedirect($routeName, $parameters);
}