You are here

public function TaxonomyManagerForm::addFormCallback in Taxonomy Manager 8

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

AJAX callback handler for add form.

File

src/Form/TaxonomyManagerForm.php, line 268

Class

TaxonomyManagerForm
Taxonomy manager class.

Namespace

Drupal\taxonomy_manager\Form

Code

public function addFormCallback($form, FormStateInterface $form_state) {
  return $this
    ->modalHelper($form_state, 'Drupal\\taxonomy_manager\\Form\\AddTermsToVocabularyForm', 'taxonomy_manager.admin_vocabulary.add', $this
    ->t('Add terms'));
}