public function EntityUsageInterface::deleteByField in Entity Usage 8.4
Same name and namespace in other branches
- 8.2 src/EntityUsageInterface.php \Drupal\entity_usage\EntityUsageInterface::deleteByField()
Delete all records for a given field_name + source_type.
Parameters
string $source_type: The source entity type.
string $field_name: The name of the field in the source entity using the target entity.
1 method overrides EntityUsageInterface::deleteByField()
- EntityUsage::deleteByField in src/
EntityUsage.php - Delete all records for a given field_name + source_type.
File
- src/
EntityUsageInterface.php, line 77
Class
- EntityUsageInterface
- Entity usage interface.
Namespace
Drupal\entity_usageCode
public function deleteByField($source_type, $field_name);