9 calls to file_usage_add() in Drupal 7
- FileDeleteTest::testInUse in modules/
simpletest/ tests/ file.test - Tries deleting a file that is in use.
- FileUsageTest::testAddUsage in modules/
simpletest/ tests/ file.test - Tests file_usage_add().
- file_field_insert in modules/
file/ file.field.inc - Implements hook_field_insert().
- file_field_update in modules/
file/ file.field.inc - Implements hook_field_update().
- image_field_update_field in modules/
image/ image.module - Implements hook_field_update_field().
- image_field_update_instance in modules/
image/ image.module - Implements hook_field_update_instance().
- system_update_7061 in modules/
system/ system.install - Migrate upload.module data to the newly created file field.
- user_save in modules/
user/ user.module - Save changes to a user account or add a new user.
- user_update_7013 in modules/
user/ user.install - Add user module file usage entries.