public function FieldCollectionItem::id in Field collection 8.3
Same name and namespace in other branches
- 8 src/Entity/FieldCollectionItem.php \Drupal\field_collection\Entity\FieldCollectionItem::id()
Implements Drupal\Core\Entity\EntityInterface::id().
Overrides ContentEntityBase::id
4 calls to FieldCollectionItem::id()
- FieldCollectionItem::deleteHostEntityReference in src/
Entity/ FieldCollectionItem.php - Deletes the host entity's reference of the field collection item.
- FieldCollectionItem::getDelta in src/
Entity/ FieldCollectionItem.php - Returns the $delta of the reference to this field collection item.
- FieldCollectionItem::getHostRevisionId in src/
Entity/ FieldCollectionItem.php - Returns the revision_id of the host entity for this field collection item.
- FieldCollectionItem::uri in src/
Entity/ FieldCollectionItem.php - Overrides \Drupal\Core\Entity\Entity::uri().
File
- src/
Entity/ FieldCollectionItem.php, line 77
Class
- FieldCollectionItem
- Defines the field collection item entity class.
Namespace
Drupal\field_collection\EntityCode
public function id() {
return $this->item_id->value;
}