public function ExtraFieldDisplayFormattedBase::getLabelDisplay in Extra Field 8
Same name and namespace in other branches
- 8.2 src/Plugin/ExtraFieldDisplayFormattedBase.php \Drupal\extra_field\Plugin\ExtraFieldDisplayFormattedBase::getLabelDisplay()
How to display the field label will be displayed.
Return value
string Options: 'above', 'inline', 'hidden', 'visually_hidden'.
Overrides ExtraFieldDisplayFormattedInterface::getLabelDisplay
1 call to ExtraFieldDisplayFormattedBase::getLabelDisplay()
- ExtraFieldDisplayFormattedBase::view in src/
Plugin/ ExtraFieldDisplayFormattedBase.php - Builds a renderable array for the field.
5 methods override ExtraFieldDisplayFormattedBase::getLabelDisplay()
- EmptyFormattedFieldTest::getLabelDisplay in tests/
extra_field_test/ src/ Plugin/ ExtraField/ Display/ EmptyFormattedFieldTest.php - How to display the field label will be displayed.
- ExampleFormattedField::getLabelDisplay in modules/
extra_field_example/ src/ Plugin/ ExtraField/ Display/ ExampleFormattedField.php - How to display the field label will be displayed.
- ExampleMultilingualField::getLabelDisplay in modules/
extra_field_example/ src/ Plugin/ ExtraField/ Display/ ExampleMultilingualField.php - How to display the field label will be displayed.
- MultipleItemsFieldWithCacheDependencyTest::getLabelDisplay in tests/
extra_field_test/ src/ Plugin/ ExtraField/ Display/ MultipleItemsFieldWithCacheDependencyTest.php - How to display the field label will be displayed.
- SingleTextFieldTest::getLabelDisplay in tests/
extra_field_test/ src/ Plugin/ ExtraField/ Display/ SingleTextFieldTest.php - How to display the field label will be displayed.
File
- src/
Plugin/ ExtraFieldDisplayFormattedBase.php, line 108
Class
- ExtraFieldDisplayFormattedBase
- Base class for Extra field Display plugins with field wrapper output.
Namespace
Drupal\extra_field\PluginCode
public function getLabelDisplay() {
return 'hidden';
}