public function PathPluginBase::hasPath in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::hasPath()
- 10 core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::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.
Overrides DisplayPluginBase::hasPath
File
- core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php, line 80
Class
- PathPluginBase
- The base display plugin for path/callbacks. This is used for pages and feeds.
Namespace
Drupal\views\Plugin\views\displayCode
public function hasPath() {
return TRUE;
}