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
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 and creates a file entity.
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.
FileSystemInterface::mkdir function core/lib/Drupal/Core/File/FileSystemInterface.php Creates a directory, optionally creating missing components in the path.
FileSystemInterface::MODIFY_PERMISSIONS constant core/lib/Drupal/Core/File/FileSystemInterface.php Flag used by ::prepareDirectory() -- file permissions may be changed.
FileSystemInterface::move function core/lib/Drupal/Core/File/FileSystemInterface.php Moves a file to a new location without database changes or hook invocation.
FileSystemInterface::moveUploadedFile function core/lib/Drupal/Core/File/FileSystemInterface.php Moves an uploaded file to a new location.
FileSystemInterface::prepareDirectory function core/lib/Drupal/Core/File/FileSystemInterface.php Checks that the directory exists and is writable.
FileSystemInterface::realpath function core/lib/Drupal/Core/File/FileSystemInterface.php Resolves the absolute filepath of a local URI or filepath.
FileSystemInterface::rmdir function core/lib/Drupal/Core/File/FileSystemInterface.php Removes a directory.
FileSystemInterface::saveData function core/lib/Drupal/Core/File/FileSystemInterface.php Saves a file to the specified destination without invoking file API.
FileSystemInterface::scanDirectory function core/lib/Drupal/Core/File/FileSystemInterface.php Finds all files that match a given mask in a given directory.
FileSystemInterface::tempnam function core/lib/Drupal/Core/File/FileSystemInterface.php Creates a file with a unique filename in the specified directory.
FileSystemInterface::unlink function core/lib/Drupal/Core/File/FileSystemInterface.php Deletes a file.
FileUrlGeneratorInterface interface core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php Generates file URLs for a stream to an external or local file.
FileUrlGeneratorInterface.php file core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php
FileUrlGeneratorInterface::generate function core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php Creates a root-relative web-accessible URL object.
FileUrlGeneratorInterface::generateAbsoluteString function core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php Creates an absolute web-accessible URL string.
FileUrlGeneratorInterface::generateString function core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php Creates a root-relative web-accessible URL string.
FileUrlGeneratorInterface::transformRelative function core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php Transforms an absolute URL of a local file to a relative URL.
FileUsageInterface interface core/modules/file/src/FileUsage/FileUsageInterface.php File usage backend interface.
FileUsageInterface.php file core/modules/file/src/FileUsage/FileUsageInterface.php
FileUsageInterface::add function core/modules/file/src/FileUsage/FileUsageInterface.php Records that a module is using a file.
FileUsageInterface::delete function core/modules/file/src/FileUsage/FileUsageInterface.php Removes a record to indicate that a module is no longer using a file.
FileUsageInterface::listUsage function core/modules/file/src/FileUsage/FileUsageInterface.php Determines where a file is used.
FileValidatorInterface interface core/modules/file/src/Validation/FileValidatorInterface.php Provides a file validator that supports a list of validations.
FileValidatorInterface.php file core/modules/file/src/Validation/FileValidatorInterface.php

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