function FieldStorageConfig::setTranslatable
Sets whether the field is translatable.
Parameters
bool $translatable: Whether the field is translatable.
Return value
$this
Overrides FieldStorageConfigInterface::setTranslatable
File
-
core/
modules/ field/ src/ Entity/ FieldStorageConfig.php, line 629
Class
- FieldStorageConfig
- Defines the Field storage configuration entity.
Namespace
Drupal\field\EntityCode
public function setTranslatable($translatable) {
$this->translatable = $translatable;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.