VocabularyListBuilder::buildHeader

public VocabularyListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides DraggableListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/taxonomy/src/VocabularyListBuilder.php, line 57 Class VocabularyListBuilder Defines a class to build a listing of taxonomy vocabulary entities. Namespace Drupal\taxonomy Code public function buildHeader() { $header

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

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