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

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

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

public VocabularyListBuilder::buildRow(EntityInterface $entity) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides DraggableListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/taxonomy/src/VocabularyListBuilder.php, line 65 Class VocabularyListBuilder Defines a class to bu

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