namespace Drupal\file

Same name in other branches
  1. 8.9.x Drupal\file
  2. 10 Drupal\file
  3. 11.x Drupal\file
Object name File name Summary
ComputedFileUrl core/modules/file/src/ComputedFileUrl.php Computed file URL property class.
FileAccessControlHandler core/modules/file/src/FileAccessControlHandler.php Provides a File access control handler.
FileAccessFormatterControlHandlerInterface core/modules/file/src/FileAccessFormatterControlHandlerInterface.php Defines an interface for file access handlers that need to run on file formatters.
FileInterface core/modules/file/src/FileInterface.php Defines getter and setter methods for file entity base fields.
FileRepository core/modules/file/src/FileRepository.php Provides a file entity repository.
FileRepositoryInterface core/modules/file/src/FileRepositoryInterface.php Performs file system operations and updates database records accordingly.
FileServiceProvider core/modules/file/src/FileServiceProvider.php Adds 'application/octet-stream' as a known (bin) format.
FileStorage core/modules/file/src/FileStorage.php File storage for files.
FileStorageInterface core/modules/file/src/FileStorageInterface.php Defines an interface for file entity storage classes.
FileStorageSchema core/modules/file/src/FileStorageSchema.php Defines the file schema handler.
FileViewsData core/modules/file/src/FileViewsData.php Provides views data for the file entity type.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.