You are here

public function ExtraFieldDisplayFormattedBase::getLabelDisplay in Extra Field 8.2

Same name and namespace in other branches
  1. 8 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 109

Class

ExtraFieldDisplayFormattedBase
Base class for Extra field Display plugins with field wrapper output.

Namespace

Drupal\extra_field\Plugin

Code

public function getLabelDisplay() {
  return 'hidden';
}