You are here

public function FieldCollectionItem::getRevisionId in Field collection 8.3

Same name and namespace in other branches
  1. 8 src/Entity/FieldCollectionItem.php \Drupal\field_collection\Entity\FieldCollectionItem::getRevisionId()

Overrides \Drupal\Core\Entity\Entity::getRevisionId().

Overrides ContentEntityBase::getRevisionId

1 call to FieldCollectionItem::getRevisionId()
FieldCollectionItem::getHostRevisionId in src/Entity/FieldCollectionItem.php
Returns the revision_id of the host entity for this field collection item.

File

src/Entity/FieldCollectionItem.php, line 228

Class

FieldCollectionItem
Defines the field collection item entity class.

Namespace

Drupal\field_collection\Entity

Code

public function getRevisionId() {
  return $this->revision_id->value;
}