You are here

public function Path::query in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/Plugin/views/field/Path.php \Drupal\node\Plugin\views\field\Path::query()

Called to add the field to a query.

Overrides FieldPluginBase::query

File

core/modules/node/src/Plugin/views/field/Path.php, line 61
Contains \Drupal\node\Plugin\views\field\Path.

Class

Path
Field handler to present the path to the node.

Namespace

Drupal\node\Plugin\views\field

Code

public function query() {
  $this
    ->ensureMyTable();
  $this
    ->addAdditionalFields();
}