function FieldConfigInterface::setTranslatable

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldConfigInterface.php \Drupal\Core\Field\FieldConfigInterface::setTranslatable()
  2. 10 core/lib/Drupal/Core/Field/FieldConfigInterface.php \Drupal\Core\Field\FieldConfigInterface::setTranslatable()
  3. 11.x 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);

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