You are here

public function ExampleMultilingualField::getLabelDisplay in Extra Field 8.2

Same name and namespace in other branches
  1. 8 modules/extra_field_example/src/Plugin/ExtraField/Display/ExampleMultilingualField.php \Drupal\extra_field_example\Plugin\ExtraField\Display\ExampleMultilingualField::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/ExampleMultilingualField.php, line 71

Class

ExampleMultilingualField
Example Extra field Display.

Namespace

Drupal\extra_field_example\Plugin\ExtraField\Display

Code

public function getLabelDisplay() {

  // Override the default label display setting.
  return 'inline';
}