You are here

public function FieldableEntityInterface::getTranslatableFields in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.

1 method overrides FieldableEntityInterface::getTranslatableFields()
ContentEntityBase::getTranslatableFields in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Gets an array of field item lists for translatable fields.

File

core/lib/Drupal/Core/Entity/FieldableEntityInterface.php, line 197
Contains \Drupal\Core\Entity\FieldableEntityInterface.

Class

FieldableEntityInterface
Interface for entities having fields.

Namespace

Drupal\Core\Entity

Code

public function getTranslatableFields($include_computed = TRUE);