FieldableEntityInterface::getFields

public FieldableEntityInterface::getFields($include_computed = TRUE)

Gets an array of all field item lists.

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 181

Class

FieldableEntityInterface
Interface for entities having fields.

Namespace

Drupal\Core\Entity

Code

public function getFields($include_computed = TRUE);
doc_Drupal
2016-10-29 09:10:30
Comments
Leave a Comment

Please login to continue.