You are here

public function Path::query in Views (for Drupal 7) 8.3

Called to add the field to a query.

Overrides FieldPluginBase::query

File

lib/Views/node/Plugin/views/field/Path.php, line 53
Definition of Views\node\Plugin\views\field\Path.

Class

Path
Field handler to present the path to the node.

Namespace

Views\node\Plugin\views\field

Code

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