public function DisplayPluginInterface::hasPath in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::hasPath()
- 9 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()
- PathPluginBase::hasPath in core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.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();