You are here

public function DisplayPluginBase::usesLinkDisplay in Views (for Drupal 7) 8.3

Check to see if the display has some need to link to another display.

For the most part, displays without a path will use a link display. However, sometimes displays that have a path might also need to link to another display. This is true for feeds.

1 call to DisplayPluginBase::usesLinkDisplay()
DisplayPluginBase::optionsSummary in lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
Provide the default summary for options in the views UI.
1 method overrides DisplayPluginBase::usesLinkDisplay()
Feed::usesLinkDisplay in lib/Drupal/views/Plugin/views/display/Feed.php
Check to see if the display has some need to link to another display.

File

lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php, line 648
Definition of Drupal\views\Plugin\views\display\DisplayPluginBase.

Class

DisplayPluginBase
The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.

Namespace

Drupal\views\Plugin\views\display

Code

public function usesLinkDisplay() {
  return !$this
    ->hasPath();
}