VocabularyResetForm::getConfirmText

public VocabularyResetForm::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides EntityConfirmFormBase::getConfirmText File core/modules/taxonomy/src/Form/VocabularyResetForm.php, line 72 Class VocabularyResetForm Provides confirmation form for resetting a vocabulary to alphabetical order. Namespace Drupal\taxonomy\Form Code public function getConfirmText() { return $this->t('Reset to alphabetical');

VocabularyResetForm::getDescription

public VocabularyResetForm::getDescription() Returns additional text to display as a description. Return value string The form description. Overrides EntityConfirmFormBase::getDescription File core/modules/taxonomy/src/Form/VocabularyResetForm.php, line 65 Class VocabularyResetForm Provides confirmation form for resetting a vocabulary to alphabetical order. Namespace Drupal\taxonomy\Form Code public function getDescription() { return $this->t('Resetting a vocabulary will discard

VocabularyResetForm::getFormId

public VocabularyResetForm::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/VocabularyResetForm.php, line 44 Class VocabularyResetForm Provides confirmation form for resetting a vocabulary to alphabetical order. Namespace Drupal\taxonomy\Form Code public function getFormId() { return 'taxonomy_vocabulary_confirm_reset_alphabetical'; }

VocabularyResetForm::getQuestion

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

VocabularyResetForm::submitForm

public VocabularyResetForm::submitForm(array &$form, FormStateInterface $form_state) This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state can be updated, this way the subsequently invoked handlers can retrieve a regular entity object to act on. Generally this method should not be overridden unle

VocabularyResetForm::__construct

public VocabularyResetForm::__construct(TermStorageInterface $term_storage) Constructs a new VocabularyResetForm object. Parameters \Drupal\taxonomy\TermStorageInterface $term_storage: The term storage. File core/modules/taxonomy/src/Form/VocabularyResetForm.php, line 28 Class VocabularyResetForm Provides confirmation form for resetting a vocabulary to alphabetical order. Namespace Drupal\taxonomy\Form Code public function __construct(TermStorageInterface $term_storage) { $this->

VocabularyStorage

Defines a storage handler class for taxonomy vocabularies. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityStorageBase implements EntityHandlerInterface, EntityStorageInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityStorage implements ConfigEntityStorageInterface, ImportableEntityStorageInterfaceclass \Drupal\taxonomy\VocabularyStorage implements VocabularyStorageInterface File core/modules

VocabularyStorage::getToplevelTids

public VocabularyStorage::getToplevelTids($vids) Gets top-level term IDs of vocabularies. Parameters array $vids: Array of vocabulary IDs. Return value array Array of top-level term IDs. Overrides VocabularyStorageInterface::getToplevelTids File core/modules/taxonomy/src/VocabularyStorage.php, line 23 Class VocabularyStorage Defines a storage handler class for taxonomy vocabularies. Namespace Drupal\taxonomy Code public function getToplevelTids($vids) { return db_query('SELECT t.ti

VocabularyStorage::resetCache

public VocabularyStorage::resetCache(array $ids = NULL) Resets the internal, static entity cache. Parameters $ids: (optional) If specified, the cache is reset for the entities with the given ids only. Overrides EntityStorageBase::resetCache File core/modules/taxonomy/src/VocabularyStorage.php, line 15 Class VocabularyStorage Defines a storage handler class for taxonomy vocabularies. Namespace Drupal\taxonomy Code public function resetCache(array $ids = NULL) { drupal_static_reset('t

VocabularyStorageInterface

Defines an interface for vocabulary entity storage classes. Hierarchy interface \Drupal\Core\Entity\EntityStorageInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityStorageInterfaceinterface \Drupal\taxonomy\VocabularyStorageInterface File core/modules/taxonomy/src/VocabularyStorageInterface.php, line 10 Namespace Drupal\taxonomy Members Name Modifiers Type Description ConfigEntityStorageInterface::createFromStorageRecord public function Creates a configuration e