You are here

public function SingleTextFieldTest::getLabelDisplay in Extra Field 8

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

Class

SingleTextFieldTest
Extra field Display for a field with single item output.

Namespace

Drupal\extra_field_test\Plugin\ExtraField\Display

Code

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