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::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::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::getCancelUrl

public VocabularyResetForm::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. Overrides ConfirmFormInterface::getCancelUrl File core/modules/taxonomy/src/Form/VocabularyResetForm.php, line 58 Class VocabularyResetForm Provides confirmation form for resetting a vocabulary to alphabetical order. Namespace Drupal\taxonomy\Form Code public function getCancelUrl() { return $this->entity->urlInfo('overview-form'); }

VocabularyResetForm::create

public static VocabularyResetForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The serv

VocabularyResetForm::$termStorage

The term storage. Type: \Drupal\taxonomy\TermStorageInterface File core/modules/taxonomy/src/Form/VocabularyResetForm.php, line 20 Class VocabularyResetForm Provides confirmation form for resetting a vocabulary to alphabetical order. Namespace Drupal\taxonomy\Form Code protected $termStorage;

VocabularyResetForm

Provides confirmation form for resetting a vocabulary to alphabetical order. 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\taxonomy\Form\Vocabular

VocabularyListBuilder::submitForm

public VocabularyListBuilder::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides DraggableListBuilder::submitForm File core/modules/taxonomy/src/VocabularyListBuilder.php, line 99 Class VocabularyListBuilder Defines a class to build a listing of taxonomy vocabulary entities. Namesp

VocabularyListBuilder::render

public VocabularyListBuilder::render() Builds the entity listing as renderable array for table.html.twig. @todo Add a link to add a new item to the #empty text. Overrides DraggableListBuilder::render File core/modules/taxonomy/src/VocabularyListBuilder.php, line 73 Class VocabularyListBuilder Defines a class to build a listing of taxonomy vocabulary entities. Namespace Drupal\taxonomy Code public function render() { $entities = $this->load(); // If there are not multiple vocabu

VocabularyListBuilder::getFormId

public VocabularyListBuilder::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/taxonomy/src/VocabularyListBuilder.php, line 25 Class VocabularyListBuilder Defines a class to build a listing of taxonomy vocabulary entities. Namespace Drupal\taxonomy Code public function getFormId() { return 'taxonomy_overview_vocabularies'; }