interface DisplayMenuInterface in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php \Drupal\views\Plugin\views\display\DisplayMenuInterface
- 10 core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php \Drupal\views\Plugin\views\display\DisplayMenuInterface
Defines an interface for displays that provide menu links.
Hierarchy
- interface \Drupal\views\Plugin\views\display\DisplayMenuInterface
Expanded class hierarchy of DisplayMenuInterface
All classes that implement DisplayMenuInterface
1 file declares its use of DisplayMenuInterface
- ViewsMenuLink.php in core/
modules/ views/ src/ Plugin/ Derivative/ ViewsMenuLink.php
File
- core/
modules/ views/ src/ Plugin/ views/ display/ DisplayMenuInterface.php, line 8
Namespace
Drupal\views\Plugin\views\displayView source
interface DisplayMenuInterface {
/**
* Gets menu links, if this display provides some.
*
* @return array
* The menu links registers for this display.
*
* @see \Drupal\views\Plugin\Derivative\ViewsMenuLink
*/
public function getMenuLinks();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DisplayMenuInterface:: |
public | function | Gets menu links, if this display provides some. | 1 |