function DisplayMenuInterface::getMenuLinks

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php \Drupal\views\Plugin\views\display\DisplayMenuInterface::getMenuLinks()
  2. 10 core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php \Drupal\views\Plugin\views\display\DisplayMenuInterface::getMenuLinks()
  3. 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\display

Code

public function getMenuLinks();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.