function DisplayMenuInterface::getMenuLinks
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php \Drupal\views\Plugin\views\display\DisplayMenuInterface::getMenuLinks()
- 10 core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php \Drupal\views\Plugin\views\display\DisplayMenuInterface::getMenuLinks()
- 11.x core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php \Drupal\views\Plugin\views\display\DisplayMenuInterface::getMenuLinks()
Gets menu links, if this display provides some.
Return value
array The menu links registers for this display.
See also
\Drupal\views\Plugin\Derivative\ViewsMenuLink
1 method overrides DisplayMenuInterface::getMenuLinks()
- PathPluginBase::getMenuLinks in core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php - Gets menu links, if this display provides some.
File
-
core/
modules/ views/ src/ Plugin/ views/ display/ DisplayMenuInterface.php, line 18
Class
- DisplayMenuInterface
- Defines an interface for displays that provide menu links.
Namespace
Drupal\views\Plugin\views\displayCode
public function getMenuLinks();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.