public function Path::query

Called to add the field to a query.

Overrides FieldPluginBase::query

File

drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/Path.php, line 53
Definition of 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
    ->add_additional_fields();
}