protected function LinkBase::defineOptions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/field/LinkBase.php \Drupal\views\Plugin\views\field\LinkBase::defineOptions()
- 9 core/modules/views/src/Plugin/views/field/LinkBase.php \Drupal\views\Plugin\views\field\LinkBase::defineOptions()
1 call to LinkBase::defineOptions()
- EntityLink::defineOptions in core/
modules/ views/ src/ Plugin/ views/ field/ EntityLink.php
1 method overrides LinkBase::defineOptions()
- EntityLink::defineOptions in core/
modules/ views/ src/ Plugin/ views/ field/ EntityLink.php
File
- core/
modules/ views/ src/ Plugin/ views/ field/ LinkBase.php, line 121
Class
- LinkBase
- Field handler to present a link to an entity.
Namespace
Drupal\views\Plugin\views\fieldCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['text'] = [
'default' => $this
->getDefaultLabel(),
];
return $options;
}