public function SingleTextFieldTest::getLabelDisplay in Extra Field 8.2
Same name and namespace in other branches
- 8 tests/extra_field_test/src/Plugin/ExtraField/Display/SingleTextFieldTest.php \Drupal\extra_field_test\Plugin\ExtraField\Display\SingleTextFieldTest::getLabelDisplay()
How to display the field label will be displayed.
Return value
string Options: 'above', 'inline', 'hidden', 'visually_hidden'.
Overrides ExtraFieldDisplayFormattedBase::getLabelDisplay
File
- tests/
extra_field_test/ src/ Plugin/ ExtraField/ Display/ SingleTextFieldTest.php, line 41
Class
- SingleTextFieldTest
- Extra field Display for a field with single item output.
Namespace
Drupal\extra_field_test\Plugin\ExtraField\DisplayCode
public function getLabelDisplay() {
return 'inline';
}