function Path::init
Overrides FieldPluginBase::init
File
-
core/
modules/ node/ src/ Plugin/ views/ field/ Path.php, line 29
Class
- Path
- Field handler to present the path to the node.
Namespace
Drupal\node\Plugin\views\fieldCode
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
parent::init($view, $display, $options);
$this->additional_fields['nid'] = 'nid';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.