You are here

interface DisplayMenuInterface in Drupal 9

Same name and namespace in other branches
  1. 8 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

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\display
View 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

Namesort descending Modifiers Type Description Overrides
DisplayMenuInterface::getMenuLinks public function Gets menu links, if this display provides some. 1