_editor_delete_file_usage
function _editor_delete_file_usage
_editor_delete_file_usage(array $uuids, EntityInterface $entity, $count)
Deletes file usage of files referenced by formatted text fields.
Parameters
array $uuids: An array of file entity UUIDs.
EntityInterface $entity: An entity whose fields to inspect for file references.
$count: The number of references to delete. Should be 1 when deleting a single revision and 0 when deleting an entity entirely.