You are here

public function VocabularyInterface::setHierarchy in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/src/VocabularyInterface.php \Drupal\taxonomy\VocabularyInterface::setHierarchy()

Sets the vocabulary hierarchy.

Parameters

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

Return value

$this

1 method overrides VocabularyInterface::setHierarchy()
Vocabulary::setHierarchy in core/modules/taxonomy/src/Entity/Vocabulary.php
Sets the vocabulary hierarchy.

File

core/modules/taxonomy/src/VocabularyInterface.php, line 37
Contains \Drupal\taxonomy\VocabularyInterface.

Class

VocabularyInterface
Provides an interface defining a taxonomy vocabulary entity.

Namespace

Drupal\taxonomy

Code

public function setHierarchy($hierarchy);