You are here

public function FieldStorageConfig::setTranslatable in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\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 604
Contains \Drupal\field\Entity\FieldStorageConfig.

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

public function setTranslatable($translatable) {
  $this->translatable = $translatable;
  return $this;
}