public function ExtraFieldDisplayFormattedBase::getLangcode in Extra Field 8
Same name and namespace in other branches
- 8.2 src/Plugin/ExtraFieldDisplayFormattedBase.php \Drupal\extra_field\Plugin\ExtraFieldDisplayFormattedBase::getLangcode()
Gets the langcode of the field values.
Return value
string The langcode.
Overrides ExtraFieldDisplayFormattedInterface::getLangcode
2 calls to ExtraFieldDisplayFormattedBase::getLangcode()
- ExampleMultilingualField::getLangcode in modules/
extra_field_example/ src/ Plugin/ ExtraField/ Display/ ExampleMultilingualField.php - Gets the langcode of the field values.
- ExtraFieldDisplayFormattedBase::view in src/
Plugin/ ExtraFieldDisplayFormattedBase.php - Builds a renderable array for the field.
1 method overrides ExtraFieldDisplayFormattedBase::getLangcode()
- ExampleMultilingualField::getLangcode in modules/
extra_field_example/ src/ Plugin/ ExtraField/ Display/ ExampleMultilingualField.php - Gets the langcode of the field values.
File
- src/
Plugin/ ExtraFieldDisplayFormattedBase.php, line 143
Class
- ExtraFieldDisplayFormattedBase
- Base class for Extra field Display plugins with field wrapper output.
Namespace
Drupal\extra_field\PluginCode
public function getLangcode() {
return $this->langcode;
}