You are here

DisplayMenuInterface.php in Drupal 8

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

Namesort descending Description
DisplayMenuInterface Defines an interface for displays that provide menu links.