diff --git a/core/modules/taxonomy/src/Entity/Vocabulary.php b/core/modules/taxonomy/src/Entity/Vocabulary.php index 9f6aa3d..e098477 100644 --- a/core/modules/taxonomy/src/Entity/Vocabulary.php +++ b/core/modules/taxonomy/src/Entity/Vocabulary.php @@ -111,22 +111,22 @@ public function setHierarchy($hierarchy) { /** * {@inheritdoc} */ - public function id() { - return $this->vid; + public function getWeight() { + return $this->get('weight'); } /** * {@inheritdoc} */ - public function getDescription() { - return $this->description; + public function id() { + return $this->vid; } /** * {@inheritdoc} */ - public function getWeight() { - return $this->get('weight')->value; + public function getDescription() { + return $this->description; } /**