You are here

public function ExampleFormattedField::getLabelDisplay in Extra Field 8.2

Same name and namespace in other branches
  1. 8 modules/extra_field_example/src/Plugin/ExtraField/Display/ExampleFormattedField.php \Drupal\extra_field_example\Plugin\ExtraField\Display\ExampleFormattedField::getLabelDisplay()

How to display the field label will be displayed.

Return value

string Options: 'above', 'inline', 'hidden', 'visually_hidden'.

Overrides ExtraFieldDisplayFormattedBase::getLabelDisplay

File

modules/extra_field_example/src/Plugin/ExtraField/Display/ExampleFormattedField.php, line 36

Class

ExampleFormattedField
Example Extra field with formatted output.

Namespace

Drupal\extra_field_example\Plugin\ExtraField\Display

Code

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