You are here

public function FieldStorageConfigInterface::setTranslatable in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/field/src/FieldStorageConfigInterface.php \Drupal\field\FieldStorageConfigInterface::setTranslatable()

Sets whether the field is translatable.

Parameters

bool $translatable: Whether the field is translatable.

Return value

$this

Overrides FieldStorageDefinitionInterface::setTranslatable

1 method overrides FieldStorageConfigInterface::setTranslatable()
FieldStorageConfig::setTranslatable in core/modules/field/src/Entity/FieldStorageConfig.php
Sets whether the field is translatable.

File

core/modules/field/src/FieldStorageConfigInterface.php, line 125

Class

FieldStorageConfigInterface
Provides an interface defining a field storage entity.

Namespace

Drupal\field

Code

public function setTranslatable($translatable);