You are here

public function EmptyFormattedFieldTest::getLabelDisplay in Extra Field 8.2

Same name and namespace in other branches
  1. 8 tests/extra_field_test/src/Plugin/ExtraField/Display/EmptyFormattedFieldTest.php \Drupal\extra_field_test\Plugin\ExtraField\Display\EmptyFormattedFieldTest::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/EmptyFormattedFieldTest.php, line 34

Class

EmptyFormattedFieldTest
Extra field Display for a field without content.

Namespace

Drupal\extra_field_test\Plugin\ExtraField\Display

Code

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