You are here

public function FieldStorageConfigInterface::setTranslatable in Zircon Profile 8.0

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 138
Contains \Drupal\field\FieldStorageConfigInterface.

Class

FieldStorageConfigInterface
Provides an interface defining a field storage entity.

Namespace

Drupal\field

Code

public function setTranslatable($translatable);