public function EntityUsageInterface::delete in Entity Usage 8
Remove a record indicating that the entity is not being referenced anymore.
Parameters
int $t_id: The identifier of the target entity.
string $t_type: The type of the target entity.
int $re_id: (optional) The unique, numerid ID of the object containing the referenced entity. May be omitted if all references to an entity are being deleted. Defaults to NULL.
string $re_type: (optional) The type of the object containing the referenced entity. May be omitted if all entity-type references to a file are being deleted. Defaults to NULL.
int $count: (optional) The number of references to delete from the object. Defaults to 1. Zero may be specified to delete all references to the entity within a specific object.
1 method overrides EntityUsageInterface::delete()
- EntityUsage::delete in src/
EntityUsage.php - Remove a record indicating that the entity is not being referenced anymore.
File
- src/
EntityUsageInterface.php, line 54
Class
- EntityUsageInterface
- Entity usage interface.
Namespace
Drupal\entity_usageCode
public function delete($t_id, $t_type, $re_id = NULL, $re_type = NULL, $count = 1);