function Links::defineOptions
Overrides FieldPluginBase::defineOptions
File
-
core/
modules/ views/ src/ Plugin/ views/ field/ Links.php, line 60
Class
- Links
- An abstract handler which provides a collection of links.
Namespace
Drupal\views\Plugin\views\fieldCode
public function defineOptions() {
$options = parent::defineOptions();
$options['fields'] = [
'default' => [],
];
$options['destination'] = [
'default' => TRUE,
];
return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.