You are here

public function DisplayPluginInterface::hasPath in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::hasPath()

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

1 method overrides DisplayPluginInterface::hasPath()
DisplayPluginBase::hasPath in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Checks to see if the display has a 'path' field.

File

core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php, line 186

Class

DisplayPluginInterface
Provides an interface for Views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function hasPath();