public function FieldCollectionItemEntity::delete in Field collection 7
Deletes the field collection item and the reference in the host entity.
Overrides Entity::delete
1 call to FieldCollectionItemEntity::delete()
- FieldCollectionItemEntity::deleteRevision in ./
field_collection.entity.inc - Intelligently delete a field collection item revision.
File
- ./
field_collection.entity.inc, line 509
Class
- FieldCollectionItemEntity
- Class for field_collection_item entities.
Code
public function delete($skip_host_save = FALSE) {
parent::delete();
if (!$skip_host_save) {
$this
->deleteHostEntityReference();
}
}