You are here

public function TaxonomyManagerForm::deleteFormCallback in Taxonomy Manager 8

Same name and namespace in other branches
  1. 2.0.x src/Form/TaxonomyManagerForm.php \Drupal\taxonomy_manager\Form\TaxonomyManagerForm::deleteFormCallback()

AJAX callback handler for delete form.

File

src/Form/TaxonomyManagerForm.php, line 275

Class

TaxonomyManagerForm
Taxonomy manager class.

Namespace

Drupal\taxonomy_manager\Form

Code

public function deleteFormCallback($form, FormStateInterface $form_state) {
  return $this
    ->modalHelper($form_state, 'Drupal\\taxonomy_manager\\Form\\DeleteTermsForm', 'taxonomy_manager.admin_vocabulary.delete', $this
    ->t('Delete terms'));
}