Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DisplayPluginInterface.php

function 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\display

Code

public function hasPath();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal