You are here

public function Menu::getDescription in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/src/Entity/Menu.php \Drupal\system\Entity\Menu::getDescription()
  2. 9 core/modules/system/src/Entity/Menu.php \Drupal\system\Entity\Menu::getDescription()

Returns the description of the menu.

Return value

string Description of the menu.

Overrides MenuInterface::getDescription

File

core/modules/system/src/Entity/Menu.php, line 72

Class

Menu
Defines the Menu configuration entity class.

Namespace

Drupal\system\Entity

Code

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