You are here

public function ExtraFieldDisplayFormattedBase::isTranslatable in Extra Field 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/ExtraFieldDisplayFormattedBase.php \Drupal\extra_field\Plugin\ExtraFieldDisplayFormattedBase::isTranslatable()

The field is translatable.

Return value

bool Whether the field's content is translatable.

Overrides ExtraFieldDisplayFormattedInterface::isTranslatable

1 call to ExtraFieldDisplayFormattedBase::isTranslatable()
ExtraFieldDisplayFormattedBase::view in src/Plugin/ExtraFieldDisplayFormattedBase.php
Builds a renderable array for the field.
1 method overrides ExtraFieldDisplayFormattedBase::isTranslatable()
ExampleMultilingualField::isTranslatable in modules/extra_field_example/src/Plugin/ExtraField/Display/ExampleMultilingualField.php
The field is translatable.

File

src/Plugin/ExtraFieldDisplayFormattedBase.php, line 150

Class

ExtraFieldDisplayFormattedBase
Base class for Extra field Display plugins with field wrapper output.

Namespace

Drupal\extra_field\Plugin

Code

public function isTranslatable() {
  return FALSE;
}