interface DisplayMenuInterface

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php \Drupal\views\Plugin\views\display\DisplayMenuInterface
  2. 8.9.x core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php \Drupal\views\Plugin\views\display\DisplayMenuInterface
  3. 11.x 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

Title Sort descending Modifiers Object type Summary Overrides
DisplayMenuInterface::getMenuLinks public function Gets menu links, if this display provides some. 1

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