You are here

public function Path::query in Drupal 8

Called to add the field to a query.

Overrides FieldPluginBase::query

File

core/modules/node/src/Plugin/views/field/Path.php, line 62

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();
}