diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/VocabularyFormController.php b/core/modules/taxonomy/lib/Drupal/taxonomy/VocabularyFormController.php index 724697044d4b5f2d881626e9f14dfe1a1a8aa745..b6243516985f8edbed830ec7aef94c18bea78deb 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/VocabularyFormController.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/VocabularyFormController.php @@ -20,7 +20,12 @@ class VocabularyFormController extends EntityFormController { */ public function form(array $form, array &$form_state) { $vocabulary = $this->entity; - $form['#title'] = $this->t('Edit vocabulary'); + if ($vocabulary->isNew()) { + $form['#title'] = $this->t('Add vocabulary'); + } + else { + $form['#title'] = $this->t('Edit vocabulary'); + } $form['name'] = array( '#type' => 'textfield',