By berdir on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
The managed file and file usage API have been moved to file.module because they're now entities and depend on entity.module.
Additionally to the API functions, which previously were in file.inc, all related hook implementations (hook_entity_info(), hook_schema()) tests and test modules have been moved from system.module to file.module.
All modules that depend on file entities or these API's now need to add an explicit dependency on the file.module. For tests, a separate base class for file tests has been extracted from Drupal\system\Tests\File\FileTestBase, called Drupal\file\Tests\FileManagedTestBase.