Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

DisplayMenuInterface.php

Namespace

Drupal\views\Plugin\views\display

File

core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php

View 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

Title Deprecated Summary
DisplayMenuInterface Defines an interface for displays that provide menu links.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal