Check 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.
File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php, line 677
- Contains Drupal\views\Plugin\views\display\DisplayPluginBase.
Class
- DisplayPluginBase
- The default display plugin handler. Display plugins handle options and
basic mechanisms for different output methods.
Namespace
Drupal\views\Plugin\views\display
Code
public function hasPath() {
return FALSE;
}