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

public VocabularyListBuilder::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides DraggableListBuilder::buildForm File core/modules/taxonomy/src/VocabularyListBuilder.php, line 88 Class VocabularyListBuilder Defines a class to build a listing of taxonomy voc

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

Defines a class to build a listing of taxonomy vocabulary entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\Core\Config\Entity\DraggableListBuilder implements FormInterfaceclass \Drupal\taxonomy\VocabularyListBuilder See also \Drupal\taxonomy\En

VocabularyListBuilder::$entitiesKey

The key to use for the form element containing the entities. Type: string Overrides DraggableListBuilder::$entitiesKey File core/modules/taxonomy/src/VocabularyListBuilder.php, line 20 Class VocabularyListBuilder Defines a class to build a listing of taxonomy vocabulary entities. Namespace Drupal\taxonomy Code protected $entitiesKey = 'vocabularies';

VocabularyInterface::getDescription

public VocabularyInterface::getDescription() Returns the vocabulary description. Return value string The vocabulary description. File core/modules/taxonomy/src/VocabularyInterface.php, line 55 Class VocabularyInterface Provides an interface defining a taxonomy vocabulary entity. Namespace Drupal\taxonomy Code public function getDescription();

VocabularyInterface::HIERARCHY_SINGLE

Denotes that one or more terms in the vocabulary has a single parent. File core/modules/taxonomy/src/VocabularyInterface.php, line 20 Class VocabularyInterface Provides an interface defining a taxonomy vocabulary entity. Namespace Drupal\taxonomy Code const HIERARCHY_SINGLE = 1;

VocabularyInterface::getHierarchy

public VocabularyInterface::getHierarchy() Returns the vocabulary hierarchy. Return value int The vocabulary hierarchy. File core/modules/taxonomy/src/VocabularyInterface.php, line 33 Class VocabularyInterface Provides an interface defining a taxonomy vocabulary entity. Namespace Drupal\taxonomy Code public function getHierarchy();

VocabularyInterface::HIERARCHY_MULTIPLE

Denotes that one or more terms in the vocabulary have multiple parents. File core/modules/taxonomy/src/VocabularyInterface.php, line 25 Class VocabularyInterface Provides an interface defining a taxonomy vocabulary entity. Namespace Drupal\taxonomy Code const HIERARCHY_MULTIPLE = 2;