public function DisplayPluginBase::usesLinkDisplay in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::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 DisplayPluginInterface::usesLinkDisplay
1 call to DisplayPluginBase::usesLinkDisplay()
- DisplayPluginBase::optionsSummary in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Provides the default summary for options in the views UI.
1 method overrides DisplayPluginBase::usesLinkDisplay()
- Feed::usesLinkDisplay in core/
modules/ views/ src/ Plugin/ views/ display/ Feed.php - Checks to see if the display has some need to link to another display.
File
- core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php, line 676
Class
- DisplayPluginBase
- Base class for views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function usesLinkDisplay() {
return !$this
->hasPath();
}