You are here

public function Feed::usesLinkDisplay in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/display/Feed.php \Drupal\views\Plugin\views\display\Feed::usesLinkDisplay()
  2. 10 core/modules/views/src/Plugin/views/display/Feed.php \Drupal\views\Plugin\views\display\Feed::usesLinkDisplay()

Checks 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.

Overrides DisplayPluginBase::usesLinkDisplay

File

core/modules/views/src/Plugin/views/display/Feed.php, line 354

Class

Feed
The plugin that handles a feed, such as RSS or atom.

Namespace

Drupal\views\Plugin\views\display

Code

public function usesLinkDisplay() {
  return TRUE;
}