VocabularyDeleteForm::getFormId

public VocabularyDeleteForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides EntityForm::getFormId File core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 15 Class VocabularyDeleteForm Provides a deletion confirmation form for taxonomy vocabulary. Namespace Drupal\taxonomy\Form Code public function getFormId() { return 'taxonomy_vocabulary_confirm_delete'; }

VocabularyDeleteForm::getDeletionMessage

protected VocabularyDeleteForm::getDeletionMessage() Gets the message to display to the user after deleting the entity. Return value string The translated string of the deletion message. Overrides EntityDeleteFormTrait::getDeletionMessage File core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 36 Class VocabularyDeleteForm Provides a deletion confirmation form for taxonomy vocabulary. Namespace Drupal\taxonomy\Form Code protected function getDeletionMessage() { return $th

VocabularyDeleteForm::getQuestion

public VocabularyDeleteForm::getQuestion() Returns the question to ask the user. Return value string The form question. The page title will be set to this value. Overrides EntityDeleteFormTrait::getQuestion File core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 22 Class VocabularyDeleteForm Provides a deletion confirmation form for taxonomy vocabulary. Namespace Drupal\taxonomy\Form Code public function getQuestion() { return $this->t('Are you sure you want to delete

VocabularyDeleteForm::getDescription

public VocabularyDeleteForm::getDescription() Returns additional text to display as a description. Return value string The form description. Overrides EntityConfirmFormBase::getDescription File core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 29 Class VocabularyDeleteForm Provides a deletion confirmation form for taxonomy vocabulary. Namespace Drupal\taxonomy\Form Code public function getDescription() { return $this->t('Deleting a vocabulary will delete all the terms

VocabularyDeleteForm

Provides a deletion confirmation form for taxonomy vocabulary. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\EntityConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\Core\Entity\EntityDeleteForm uses Ent

Vocabulary::setHierarchy

public Vocabulary::setHierarchy($hierarchy) Sets the vocabulary hierarchy. Parameters int $hierarchy: The hierarchy type of vocabulary. Possible values: VocabularyInterface::HIERARCHY_DISABLED: No parents. VocabularyInterface::HIERARCHY_SINGLE: Single parent. VocabularyInterface::HIERARCHY_MULTIPLE: Multiple parents. Return value $this Overrides VocabularyInterface::setHierarchy File core/modules/taxonomy/src/Entity/Vocabulary.php, line 101 Class Vocabulary Defines the taxonomy voca

Vocabulary::preDelete

public static Vocabulary::preDelete(EntityStorageInterface $storage, array $entities) Acts on entities before they are deleted and before hooks are invoked. Used before the entities are deleted and before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides ConfigEntityBase::preDelete File core/modules/taxonomy/src/Entity/Vocabulary.php, line 123 C

Vocabulary::getDescription

public Vocabulary::getDescription() Returns the vocabulary description. Return value string The vocabulary description. Overrides VocabularyInterface::getDescription File core/modules/taxonomy/src/Entity/Vocabulary.php, line 116 Class Vocabulary Defines the taxonomy vocabulary entity. Namespace Drupal\taxonomy\Entity Code public function getDescription() { return $this->description; }

Vocabulary::getHierarchy

public Vocabulary::getHierarchy() Returns the vocabulary hierarchy. Return value int The vocabulary hierarchy. Overrides VocabularyInterface::getHierarchy File core/modules/taxonomy/src/Entity/Vocabulary.php, line 94 Class Vocabulary Defines the taxonomy vocabulary entity. Namespace Drupal\taxonomy\Entity Code public function getHierarchy() { return $this->hierarchy; }

Vocabulary::postDelete

public static Vocabulary::postDelete(EntityStorageInterface $storage, array $entities) Acts on deleted entities before the delete hook is invoked. Used after the entities are deleted but before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides ConfigEntityBundleBase::postDelete File core/modules/taxonomy/src/Entity/Vocabulary.php, line 133 Class