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\fieldCode
public function query() {
$this
->ensureMyTable();
$this
->addAdditionalFields();
}