function FieldStorageConfigInterface::setTranslatable

Same name in other branches
  1. 9 core/modules/field/src/FieldStorageConfigInterface.php \Drupal\field\FieldStorageConfigInterface::setTranslatable()
  2. 8.9.x core/modules/field/src/FieldStorageConfigInterface.php \Drupal\field\FieldStorageConfigInterface::setTranslatable()
  3. 10 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.