DisplayMenuInterface.php

Same filename and directory in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php
  2. 10 core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php
  3. 11.x core/modules/views/src/Plugin/views/display/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.

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