public function ExampleMultilingualField::isTranslatable in Extra Field 8.2
Same name and namespace in other branches
- 8 modules/extra_field_example/src/Plugin/ExtraField/Display/ExampleMultilingualField.php \Drupal\extra_field_example\Plugin\ExtraField\Display\ExampleMultilingualField::isTranslatable()
The field is translatable.
Return value
bool Whether the field's content is translatable.
Overrides ExtraFieldDisplayFormattedBase::isTranslatable
File
- modules/
extra_field_example/ src/ Plugin/ ExtraField/ Display/ ExampleMultilingualField.php, line 80
Class
- ExampleMultilingualField
- Example Extra field Display.
Namespace
Drupal\extra_field_example\Plugin\ExtraField\DisplayCode
public function isTranslatable() {
// Override the default translatability setting.
return TRUE;
}