VocabularyInterface::setHierarchy

public VocabularyInterface::setHierarchy($hierarchy)

Sets the vocabulary hierarchy.

Parameters

int $hierarchy: The hierarchy type of vocabulary. Possible values:

Return value

$this

File

core/modules/taxonomy/src/VocabularyInterface.php, line 47

Class

VocabularyInterface
Provides an interface defining a taxonomy vocabulary entity.

Namespace

Drupal\taxonomy

Code

1
public function setHierarchy($hierarchy);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.