public function ViewsMenuLink::getDescription in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/Menu/ViewsMenuLink.php \Drupal\views\Plugin\Menu\ViewsMenuLink::getDescription()
- 9 core/modules/views/src/Plugin/Menu/ViewsMenuLink.php \Drupal\views\Plugin\Menu\ViewsMenuLink::getDescription()
File
- core/
modules/ views/ src/ Plugin/ Menu/ ViewsMenuLink.php, line 118
Class
- ViewsMenuLink
- Defines menu links provided by views.
Namespace
Drupal\views\Plugin\MenuCode
public function getDescription() {
return $this
->loadView()->display_handler
->getOption('menu')['description'];
}