You are here

public function FieldConfigInterface::setTranslatable in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldConfigInterface.php \Drupal\Core\Field\FieldConfigInterface::setTranslatable()

Sets whether the field is translatable.

Parameters

bool $translatable: Whether the field is translatable.

Return value

$this

1 method overrides FieldConfigInterface::setTranslatable()
FieldConfigBase::setTranslatable in core/lib/Drupal/Core/Field/FieldConfigBase.php
Sets whether the field is translatable.

File

core/lib/Drupal/Core/Field/FieldConfigInterface.php, line 50

Class

FieldConfigInterface
Defines an interface for configurable field definitions.

Namespace

Drupal\Core\Field

Code

public function setTranslatable($translatable);