Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 10.3.x for interface
  4. Search 11.x for interface
  5. Other projects
Title Object type File name Summary
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.
FileEntityNormalizer::$supportedInterfaceOrClass property core/modules/hal/src/Normalizer/FileEntityNormalizer.php The interface or class that this Normalizer supports.
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::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.
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.
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::mkdir function core/lib/Drupal/Core/File/FileSystemInterface.php Creates a directory, optionally creating missing components in the path to
the directory.
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.

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