function DisplayPluginBase::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 DisplayPluginInterface::hasPath
4 calls to DisplayPluginBase::hasPath()
- DisplayPluginBase::getPath in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - DisplayPluginBase::usesExposedFormInBlock in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - DisplayPluginBase::usesLinkDisplay in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - DisplayPluginBase::validate in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php
1 method overrides DisplayPluginBase::hasPath()
- PathPluginBase::hasPath in core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php
File
-
core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php, line 676
Class
- DisplayPluginBase
- Base class for views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function hasPath() {
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.