public function ExampleMultilingualField::getLabelDisplay in Extra Field 8
Same name and namespace in other branches
- 8.2 modules/extra_field_example/src/Plugin/ExtraField/Display/ExampleMultilingualField.php \Drupal\extra_field_example\Plugin\ExtraField\Display\ExampleMultilingualField::getLabelDisplay()
How to display the field label will be displayed.
Return value
string Options: 'above', 'inline', 'hidden', 'visually_hidden'.
Overrides ExtraFieldDisplayFormattedBase::getLabelDisplay
File
- modules/
extra_field_example/ src/ Plugin/ ExtraField/ Display/ ExampleMultilingualField.php, line 69
Class
- ExampleMultilingualField
- Example Extra field Display.
Namespace
Drupal\extra_field_example\Plugin\ExtraField\DisplayCode
public function getLabelDisplay() {
// Override the default label display setting.
return 'inline';
}