Search for file

  1. Search 7.x for file
  2. Search 9.5.x for file
  3. Search 8.9.x for file
  4. Search 10.3.x for file
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
File class core/modules/media/src/Plugin/media/Source/File.php File entity media source.
File class core/modules/file/src/Entity/File.php Defines the file entity class.
File class core/modules/file/src/Plugin/views/field/File.php Field handler to provide simple renderer that allows linking to a file.
File class core/modules/file/src/Plugin/views/wizard/File.php Tests creating managed files views with the wizard.
File class core/modules/file/src/Plugin/migrate/source/d6/File.php Drupal 6 file source from database.
File class core/modules/file/src/Plugin/migrate/source/d7/File.php Drupal 7 file source from database.
File class core/lib/Drupal/Core/Render/Element/File.php Provides a form element for uploading a file.

All search results

Title Object type File name Summary
FileServiceProvider::alter function core/modules/file/src/FileServiceProvider.php Modifies existing service definitions.
FileSize class core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php Formatter that shows the file byte size in a human-readable way.
FileSize class core/modules/views/src/Plugin/views/field/FileSize.php Render a numeric value as a size.
FileSize.php file core/modules/views/src/Plugin/views/field/FileSize.php
FileSize.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php
FileSize::buildOptionsForm function core/modules/views/src/Plugin/views/field/FileSize.php Default option form that provides 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::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.
FileSizeLimitConstraint class core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php File size max constraint.
FileSizeLimitConstraint.php file core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php
FileSizeLimitConstraint::$diskQuotaMessage property core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php The message for when disk quota is exceeded.
FileSizeLimitConstraint::$fileLimit property core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php The file limit.
FileSizeLimitConstraint::$maxFileSizeMessage property core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php The message for when file size limit is exceeded.
FileSizeLimitConstraint::$userLimit property core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php The user limit.
FileSizeLimitConstraint::getDefaultOption function core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php
FileSizeLimitConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php Validates the FileSizeLimitConstraint.
FileSizeLimitConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php
FileSizeLimitConstraintValidator::create function core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php Instantiates a new instance of this class.
FileSizeLimitConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php
FileSizeLimitConstraintValidator::__construct function core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php Creates a new FileSizeConstraintValidator.
FileSizeLimitConstraintValidatorTest class core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileSizeLimitConstraintValidatorTest.php Tests the FileSizeLimitConstraintValidator.
FileSizeLimitConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileSizeLimitConstraintValidatorTest.php
FileSizeLimitConstraintValidatorTest::testFileValidateSize function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileSizeLimitConstraintValidatorTest.php @covers ::validate
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.

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