DisplayMenuInterface.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\views\Plugin\views\displayFile
core/modules/views/src/Plugin/views/display/DisplayMenuInterface.phpView source
<?php
namespace Drupal\views\Plugin\views\display;
/**
* Defines an interface for displays that provide menu links.
*/
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();
}
Interfaces
Name | Description |
---|---|
DisplayMenuInterface | Defines an interface for displays that provide menu links. |