public function Links::defineOptions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/field/Links.php \Drupal\views\Plugin\views\field\Links::defineOptions()
- 9 core/modules/views/src/Plugin/views/field/Links.php \Drupal\views\Plugin\views\field\Links::defineOptions()
File
- core/
modules/ views/ src/ Plugin/ views/ field/ Links.php, line 26
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;
}