Search for files

  1. Search 7.x for files
  2. Search 9.5.x for files
  3. Search 10.3.x for files
  4. Search 11.x for files
  5. Other projects
Title Object type File name Summary
FileSize.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php
FileSize.php file core/modules/views/src/Plugin/views/field/FileSize.php
FileSize::buildOptionsForm function core/modules/views/src/Plugin/views/field/FileSize.php Default options form that provides the label widget that all fields
should have.
FileSize::defineOptions function core/modules/views/src/Plugin/views/field/FileSize.php Information about options for all kinds of purposes will be held here.
FileSize::isApplicable function core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php Returns if the formatter can be used for the provided field.
FileSize::render function core/modules/views/src/Plugin/views/field/FileSize.php Renders the field.
FileSize::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php Builds a renderable array for a field value.
FileStorage class core/modules/file/src/FileStorage.php File storage for files.
FileStorage class core/lib/Drupal/Core/Config/FileStorage.php Defines the file storage.
FileStorage class core/lib/Drupal/Component/PhpStorage/FileStorage.php Stores the code as regular PHP files.
FileStorage.php file core/lib/Drupal/Core/Config/FileStorage.php
FileStorage.php file core/lib/Drupal/Component/PhpStorage/FileStorage.php
FileStorage.php file core/modules/file/src/FileStorage.php
FileStorage::$collection property core/lib/Drupal/Core/Config/FileStorage.php The storage collection.
FileStorage::$directory property core/lib/Drupal/Core/Config/FileStorage.php The filesystem path for configuration objects.
FileStorage::$directory property core/lib/Drupal/Component/PhpStorage/FileStorage.php The directory where the files should be stored.
FileStorage::$fileCache property core/lib/Drupal/Core/Config/FileStorage.php The file cache object.
FileStorage::createCollection function core/lib/Drupal/Core/Config/FileStorage.php Creates a collection on the storage.
FileStorage::createDirectory function core/lib/Drupal/Component/PhpStorage/FileStorage.php Ensures the requested directory exists and has the right permissions.
FileStorage::decode function core/lib/Drupal/Core/Config/FileStorage.php Decodes configuration data from the storage-specific format.
FileStorage::delete function core/lib/Drupal/Core/Config/FileStorage.php Deletes a configuration object from the storage.
FileStorage::delete function core/lib/Drupal/Component/PhpStorage/FileStorage.php Deletes PHP code from storage.
FileStorage::deleteAll function core/lib/Drupal/Core/Config/FileStorage.php Deletes configuration objects whose names start with a given prefix.
FileStorage::deleteAll function core/lib/Drupal/Component/PhpStorage/FileStorage.php Removes all files in this bin.
FileStorage::encode function core/lib/Drupal/Core/Config/FileStorage.php Encodes configuration data into the storage-specific format.
FileStorage::ensureDirectory function core/lib/Drupal/Component/PhpStorage/FileStorage.php Ensures the directory exists, has the right permissions, and a .htaccess.
FileStorage::ensureStorage function core/lib/Drupal/Core/Config/FileStorage.php Check if the directory exists and create it if not.
FileStorage::exists function core/lib/Drupal/Core/Config/FileStorage.php Returns whether a configuration object exists.
FileStorage::exists function core/lib/Drupal/Component/PhpStorage/FileStorage.php Checks whether the PHP code exists in storage.
FileStorage::garbageCollection function core/lib/Drupal/Component/PhpStorage/FileStorage.php Performs garbage collection on the storage.
FileStorage::getAllCollectionNames function core/lib/Drupal/Core/Config/FileStorage.php Gets the existing collections.
FileStorage::getAllCollectionNamesHelper function core/lib/Drupal/Core/Config/FileStorage.php Helper function for getAllCollectionNames().
FileStorage::getCollectionDirectory function core/lib/Drupal/Core/Config/FileStorage.php Gets the directory for the collection.
FileStorage::getCollectionName function core/lib/Drupal/Core/Config/FileStorage.php Gets the name of the current collection the storage is using.
FileStorage::getFileExtension function core/lib/Drupal/Core/Config/FileStorage.php Returns the file extension used by the file storage for all configuration files.
FileStorage::getFilePath function core/lib/Drupal/Core/Config/FileStorage.php Returns the path to the configuration file.
FileStorage::getFileSystem function core/lib/Drupal/Core/Config/FileStorage.php Returns file system service.
FileStorage::getFullPath function core/lib/Drupal/Component/PhpStorage/FileStorage.php Gets the full file path.
FileStorage::htaccessLines function core/lib/Drupal/Component/PhpStorage/FileStorage.php Returns the standard .htaccess lines that Drupal writes to file directories.
FileStorage::listAll function core/lib/Drupal/Core/Config/FileStorage.php Gets configuration object names starting with a given prefix.
FileStorage::listAll function core/lib/Drupal/Component/PhpStorage/FileStorage.php Lists all the files in the storage.
FileStorage::load function core/lib/Drupal/Component/PhpStorage/FileStorage.php Loads PHP code from storage.
FileStorage::read function core/lib/Drupal/Core/Config/FileStorage.php Implements Drupal\Core\Config\StorageInterface::read().
FileStorage::readMultiple function core/lib/Drupal/Core/Config/FileStorage.php Reads configuration data from the storage.
FileStorage::rename function core/lib/Drupal/Core/Config/FileStorage.php Renames a configuration object in the storage.
FileStorage::save function core/lib/Drupal/Component/PhpStorage/FileStorage.php Saves PHP code to storage.
FileStorage::spaceUsed function core/modules/file/src/FileStorage.php Determines total disk space used by a single user or the whole filesystem.
FileStorage::unlink function core/lib/Drupal/Component/PhpStorage/FileStorage.php Deletes files and/or directories in the specified path.
FileStorage::write function core/lib/Drupal/Core/Config/FileStorage.php Writes configuration data to the storage.
FileStorage::writeable function core/lib/Drupal/Component/PhpStorage/FileStorage.php Whether this is a writable storage.

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