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

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

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::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');

VocabularyListBuilder::getDefaultOperations

public VocabularyListBuilder::getDefaultOperations(EntityInterface $entity) Gets this list's default operations. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array The array structure is identical to the return value of self::getOperations(). Overrides ConfigEntityListBuilder::getDefaultOperations File core/modules/taxonomy/src/VocabularyListBuilder.php, line 32 Class VocabularyListBuilder Defines a class to build a listing of ta

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'; }

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