public function FieldStorageDefinitionInterface::setTranslatable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::setTranslatable()
Sets whether the field supports translation.
Parameters
bool $translatable: Whether the field supports translation.
Return value
$this
2 methods override FieldStorageDefinitionInterface::setTranslatable()
- BaseFieldDefinition::setTranslatable in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Sets whether the field is translatable.
- FieldStorageConfigInterface::setTranslatable in core/
modules/ field/ src/ FieldStorageConfigInterface.php - Sets whether the field is translatable.
File
- core/
lib/ Drupal/ Core/ Field/ FieldStorageDefinitionInterface.php, line 102 - Contains \Drupal\Core\Field\FieldStorageDefinitionInterface.
Class
- FieldStorageDefinitionInterface
- Defines an interface for entity field storage definitions.
Namespace
Drupal\Core\FieldCode
public function setTranslatable($translatable);