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

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

VocabularyInterface::setHierarchy

public VocabularyInterface::setHierarchy($hierarchy) Sets the vocabulary hierarchy. Parameters int $hierarchy: The hierarchy type of vocabulary. Possible values: VocabularyInterface::HIERARCHY_DISABLED: No parents. VocabularyInterface::HIERARCHY_SINGLE: Single parent. VocabularyInterface::HIERARCHY_MULTIPLE: Multiple parents. Return value $this File core/modules/taxonomy/src/VocabularyInterface.php, line 47 Class VocabularyInterface Provides an interface defining a taxonomy vocabula

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

VocabularyInterface::HIERARCHY_DISABLED

Denotes that no term in the vocabulary has a parent. File core/modules/taxonomy/src/VocabularyInterface.php, line 15 Class VocabularyInterface Provides an interface defining a taxonomy vocabulary entity. Namespace Drupal\taxonomy Code const HIERARCHY_DISABLED = 0;