Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 8.9.x for interface
  4. Search 10.3.x for interface
  5. Other projects
Title Object type File name Summary
FileCacheInterface::get function core/lib/Drupal/Component/FileCache/FileCacheInterface.php Gets data based on a filename.
FileCacheInterface::getMultiple function core/lib/Drupal/Component/FileCache/FileCacheInterface.php Gets data based on filenames.
FileCacheInterface::set function core/lib/Drupal/Component/FileCache/FileCacheInterface.php Stores data based on a filename.
FileInterface interface core/modules/file/src/FileInterface.php Defines getter and setter methods for file entity base fields.
FileInterface.php file core/modules/file/src/FileInterface.php
FileInterface::createFileUrl function core/modules/file/src/FileInterface.php Creates a file URL for the URI of this file.
FileInterface::getCreatedTime function core/modules/file/src/FileInterface.php Returns the file entity creation timestamp.
FileInterface::getDownloadHeaders function core/modules/file/src/FileInterface.php Examines a file entity and returns content headers for download.
FileInterface::getFilename function core/modules/file/src/FileInterface.php Returns the name of the file.
FileInterface::getFileUri function core/modules/file/src/FileInterface.php Returns the URI of the file.
FileInterface::getMimeType function core/modules/file/src/FileInterface.php Returns the MIME type of the file.
FileInterface::getSize function core/modules/file/src/FileInterface.php Returns the size of the file.
FileInterface::isPermanent function core/modules/file/src/FileInterface.php Returns TRUE if the file is permanent.
FileInterface::isTemporary function core/modules/file/src/FileInterface.php Returns TRUE if the file is temporary.
FileInterface::setFilename function core/modules/file/src/FileInterface.php Sets the name of the file.
FileInterface::setFileUri function core/modules/file/src/FileInterface.php Sets the URI of the file.
FileInterface::setMimeType function core/modules/file/src/FileInterface.php Sets the MIME type of the file.
FileInterface::setPermanent function core/modules/file/src/FileInterface.php Sets the file status to permanent.
FileInterface::setSize function core/modules/file/src/FileInterface.php Sets the size of the file.
FileInterface::setTemporary function core/modules/file/src/FileInterface.php Sets the file status to temporary.
FileInterface::STATUS_PERMANENT constant core/modules/file/src/FileInterface.php Indicates that the file is permanent and should not be deleted.
FileMediaFormatterInterface interface core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php Defines getter methods for FileMediaFormatterBase.
FileMediaFormatterInterface.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php
FileMediaFormatterInterface::getMediaType function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php Gets the applicable media type for a formatter.
FileRepositoryInterface interface core/modules/file/src/FileRepositoryInterface.php Performs file system operations and updates database records accordingly.
FileRepositoryInterface.php file core/modules/file/src/FileRepositoryInterface.php
FileRepositoryInterface::copy function core/modules/file/src/FileRepositoryInterface.php Copies a file to a new location and adds a file record to the database.
FileRepositoryInterface::loadByUri function core/modules/file/src/FileRepositoryInterface.php Loads the first File entity found with the specified URI.
FileRepositoryInterface::move function core/modules/file/src/FileRepositoryInterface.php Moves a file to a new location and update the file's database entry.
FileRepositoryInterface::writeData function core/modules/file/src/FileRepositoryInterface.php Writes a file to the specified destination.
FileStorageInterface interface core/modules/file/src/FileStorageInterface.php Defines an interface for file entity storage classes.
FileStorageInterface.php file core/modules/file/src/FileStorageInterface.php
FileStorageInterface::spaceUsed function core/modules/file/src/FileStorageInterface.php Determines total disk space used by a single user or the whole filesystem.
FileSystemInterface interface core/lib/Drupal/Core/File/FileSystemInterface.php Provides an interface for helpers that operate on files and stream wrappers.
FileSystemInterface.php file core/lib/Drupal/Core/File/FileSystemInterface.php
FileSystemInterface::basename function core/lib/Drupal/Core/File/FileSystemInterface.php Gets the filename from a given path.
FileSystemInterface::chmod function core/lib/Drupal/Core/File/FileSystemInterface.php Sets the permissions on a file or directory.
FileSystemInterface::copy function core/lib/Drupal/Core/File/FileSystemInterface.php Copies a file to a new location without invoking the file API.
FileSystemInterface::createFilename function core/lib/Drupal/Core/File/FileSystemInterface.php Creates a full file path from a directory and filename.
FileSystemInterface::CREATE_DIRECTORY constant core/lib/Drupal/Core/File/FileSystemInterface.php Flag used by ::prepareDirectory() -- create directory if not present.
FileSystemInterface::delete function core/lib/Drupal/Core/File/FileSystemInterface.php Deletes a file without database changes or hook invocations.
FileSystemInterface::deleteRecursive function core/lib/Drupal/Core/File/FileSystemInterface.php Deletes all files and directories in the specified filepath recursively.
FileSystemInterface::dirname function core/lib/Drupal/Core/File/FileSystemInterface.php Gets the name of the directory from a given path.
FileSystemInterface::EXISTS_ERROR constant core/lib/Drupal/Core/File/FileSystemInterface.php Flag for dealing with existing files: Do nothing and return FALSE.
FileSystemInterface::EXISTS_RENAME constant core/lib/Drupal/Core/File/FileSystemInterface.php Flag for dealing with existing files: Appends number until name is unique.
FileSystemInterface::EXISTS_REPLACE constant core/lib/Drupal/Core/File/FileSystemInterface.php Flag for dealing with existing files: Replace the existing file.
FileSystemInterface::getDestinationFilename function core/lib/Drupal/Core/File/FileSystemInterface.php Determines the destination path for a file.
FileSystemInterface::getTempDirectory function core/lib/Drupal/Core/File/FileSystemInterface.php Gets the path of the configured temporary directory.
FileSystemInterface::INSECURE_EXTENSIONS constant core/lib/Drupal/Core/File/FileSystemInterface.php A list of insecure extensions.
FileSystemInterface::INSECURE_EXTENSION_REGEX constant core/lib/Drupal/Core/File/FileSystemInterface.php The regex pattern used when checking for insecure file types.

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