function Path::defineOptions

Overrides FieldPluginBase::defineOptions

File

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

Class

Path
Field handler to present the path to the node.

Namespace

Drupal\node\Plugin\views\field

Code

protected function defineOptions() {
    $options = parent::defineOptions();
    $options['absolute'] = [
        'default' => FALSE,
    ];
    return $options;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.