You are here

public function FieldCollectionItemInterface::getHostRevisionId in Field collection 8.3

Returns the revision_id of the host entity for this field collection item.

To provide correct record id, we need to use revision ids instead of id.

Return value

int

1 method overrides FieldCollectionItemInterface::getHostRevisionId()
FieldCollectionItem::getHostRevisionId in src/Entity/FieldCollectionItem.php
Returns the revision_id of the host entity for this field collection item.

File

src/FieldCollectionItemInterface.php, line 50

Class

FieldCollectionItemInterface
Provides an interface defining a field collection item entity.

Namespace

Drupal\field_collection

Code

public function getHostRevisionId();