You are here

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

Check to see if the display has a 'path' field.

This is a pure function and not just a setting on the definition because some displays (such as a panel pane) may have a path based upon configuration.

By default, displays do not have a path.

4 calls to DisplayPluginBase::hasPath()
DisplayPluginBase::getPath in lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
Return the base path to use for this display.
DisplayPluginBase::usesExposedFormInBlock in lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
Check to see if the display can put the exposed formin a block.
DisplayPluginBase::usesLinkDisplay in lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
Check to see if the display has some need to link to another display.
DisplayPluginBase::validate in lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
Make sure the display and all associated handlers are valid.
1 method overrides DisplayPluginBase::hasPath()
Page::hasPath in lib/Drupal/views/Plugin/views/display/Page.php
The page display has a path.

File

lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php, line 639
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 hasPath() {
  return FALSE;
}