public function OverviewTerms::submitReset in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/taxonomy/src/Form/OverviewTerms.php \Drupal\taxonomy\Form\OverviewTerms::submitReset()
Redirects to confirmation form for the reset action.
File
- core/modules/ taxonomy/ src/ Form/ OverviewTerms.php, line 467 
- Contains \Drupal\taxonomy\Form\OverviewTerms.
Class
Namespace
Drupal\taxonomy\FormCode
public function submitReset(array &$form, FormStateInterface $form_state) {
  /** @var $vocabulary \Drupal\taxonomy\VocabularyInterface */
  $vocabulary = $form_state
    ->get([
    'taxonomy',
    'vocabulary',
  ]);
  $form_state
    ->setRedirectUrl($vocabulary
    ->urlInfo('reset-form'));
}