public function EntityUsageInterface::deleteBySourceEntity in Entity Usage 8.2
Same name and namespace in other branches
- 8.4 src/EntityUsageInterface.php \Drupal\entity_usage\EntityUsageInterface::deleteBySourceEntity()
- 8.3 src/EntityUsageInterface.php \Drupal\entity_usage\EntityUsageInterface::deleteBySourceEntity()
Delete all records for a given source entity.
Parameters
int|string $source_id: The source entity ID.
string $source_type: The source entity type.
string $source_langcode: (optional) The source entity language code. Defaults to NULL.
string $source_vid: (optional) The source entity revision ID. Defaults to NULL.
1 method overrides EntityUsageInterface::deleteBySourceEntity()
- EntityUsage::deleteBySourceEntity in src/
EntityUsage.php - Delete all records for a given source entity.
File
- src/
EntityUsageInterface.php, line 86
Class
- EntityUsageInterface
- Entity usage interface.
Namespace
Drupal\entity_usageCode
public function deleteBySourceEntity($source_id, $source_type, $source_langcode = NULL, $source_vid = NULL);