public function FieldConfigInterface::setTranslatable in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Field/FieldConfigInterface.php \Drupal\Core\Field\FieldConfigInterface::setTranslatable()
Sets whether the field is translatable.
Parameters
bool $translatable: Whether the field is translatable.
Return value
$this
1 method overrides FieldConfigInterface::setTranslatable()
- FieldConfigBase::setTranslatable in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - Sets whether the field is translatable.
File
- core/
lib/ Drupal/ Core/ Field/ FieldConfigInterface.php, line 50
Class
- FieldConfigInterface
- Defines an interface for configurable field definitions.
Namespace
Drupal\Core\FieldCode
public function setTranslatable($translatable);