function DisplayPluginInterface::hasPath
Same name in other branches
- 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::hasPath()
- 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::hasPath()
- 11.x 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\displayCode
public function hasPath();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.