You are here

public function Vocabulary::getDescription in Drupal 9

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

Returns the vocabulary description.

Return value

string The vocabulary description.

Overrides VocabularyInterface::getDescription

File

core/modules/taxonomy/src/Entity/Vocabulary.php, line 100

Class

Vocabulary
Defines the taxonomy vocabulary entity.

Namespace

Drupal\taxonomy\Entity

Code

public function getDescription() {
  return $this->description;
}