public function FieldConfigInterface::setTranslatable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 55 - Contains \Drupal\Core\Field\FieldConfigInterface.
Class
- FieldConfigInterface
- Defines an interface for configurable field definitions.
Namespace
Drupal\Core\FieldCode
public function setTranslatable($translatable);