You are here

function views_plugin_display::uses_link_display in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 plugins/views_plugin_display.inc \views_plugin_display::uses_link_display()
  2. 7.3 plugins/views_plugin_display.inc \views_plugin_display::uses_link_display()

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 views_plugin_display::uses_link_display()
views_plugin_display::options_summary in plugins/views_plugin_display.inc
Provide the default summary for options in the views UI.
1 method overrides views_plugin_display::uses_link_display()
views_plugin_display_feed::uses_link_display in plugins/views_plugin_display_feed.inc
Check to see if the display has some need to link to another display.

File

plugins/views_plugin_display.inc, line 667
Contains the base display plugin.

Class

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

Code

function uses_link_display() {
  return !$this
    ->has_path();
}