FieldStorageConfig::setTranslatable

public FieldStorageConfig::setTranslatable($translatable)

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 600

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

1
2
3
4
public function setTranslatable($translatable) {
  $this->translatable = $translatable;
  return $this;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.