function FieldableEntityInterface::getTranslatableFields
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/FieldableEntityInterface.php \Drupal\Core\Entity\FieldableEntityInterface::getTranslatableFields()
- 10 core/lib/Drupal/Core/Entity/FieldableEntityInterface.php \Drupal\Core\Entity\FieldableEntityInterface::getTranslatableFields()
- 11.x core/lib/Drupal/Core/Entity/FieldableEntityInterface.php \Drupal\Core\Entity\FieldableEntityInterface::getTranslatableFields()
Gets an array of field item lists for translatable fields.
Parameters
bool $include_computed: If set to TRUE, computed fields are included. Defaults to TRUE.
Return value
\Drupal\Core\Field\FieldItemListInterface[] An array of field item lists implementing, keyed by field name.
File
-
core/
lib/ Drupal/ Core/ Entity/ FieldableEntityInterface.php, line 192
Class
- FieldableEntityInterface
- Interface for entities having fields.
Namespace
Drupal\Core\EntityCode
public function getTranslatableFields($include_computed = TRUE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.