Search for file

  1. Search 7.x for file
  2. Search 9.5.x for file
  3. Search 10.3.x for file
  4. Search 11.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
File::preSave function core/modules/file/src/Entity/File.php Acts on an entity before the presave hook is invoked.
File::processFile function core/lib/Drupal/Core/Render/Element/File.php Processes a file upload element, make use of #multiple if present.
File::query function core/modules/file/src/Plugin/migrate/source/d6/File.php
File::query function core/modules/file/src/Plugin/migrate/source/d7/File.php
File::render function core/modules/file/src/Plugin/views/field/File.php Renders the field.
File::renderLink function core/modules/file/src/Plugin/views/field/File.php Prepares link to the file.
File::setFilename function core/modules/file/src/Entity/File.php Sets the name of the file.
File::setFileUri function core/modules/file/src/Entity/File.php Sets the URI of the file.
File::setMimeType function core/modules/file/src/Entity/File.php Sets the MIME type of the file.
File::setPermanent function core/modules/file/src/Entity/File.php Sets the file status to permanent.
File::setSize function core/modules/file/src/Entity/File.php Sets the size of the file.
File::setTemporary function core/modules/file/src/Entity/File.php Sets the file status to temporary.
File::url function core/modules/file/src/Entity/File.php
FileAccessControlHandler class core/modules/file/src/FileAccessControlHandler.php Provides a File access control handler.
FileAccessControlHandler.php file core/modules/file/src/FileAccessControlHandler.php
FileAccessControlHandler::checkAccess function core/modules/file/src/FileAccessControlHandler.php Performs access checks.
FileAccessControlHandler::checkCreateAccess function core/modules/file/src/FileAccessControlHandler.php Performs create access checks.
FileAccessControlHandler::checkFieldAccess function core/modules/file/src/FileAccessControlHandler.php Default field access as determined by this access control handler.
FileAccessControlHandler::getFileReferences function core/modules/file/src/FileAccessControlHandler.php Wrapper for file_get_file_references().
FileAccessFormatterControlHandlerInterface interface core/modules/file/src/FileAccessFormatterControlHandlerInterface.php Defines an interface for file access handlers that need to run on file formatters.
FileAccessFormatterControlHandlerInterface.php file core/modules/file/src/FileAccessFormatterControlHandlerInterface.php
FileAudioFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php Plugin implementation of the 'file_audio' formatter.
FileAudioFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php
FileAudioFormatter::getMediaType function core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php Gets the applicable media type for a formatter.
FileAudioFormatterTest class core/modules/file/tests/src/Functional/Formatter/FileAudioFormatterTest.php @coversDefaultClass \Drupal\file\Plugin\Field\FieldFormatter\FileAudioFormatter
@group file
FileAudioFormatterTest.php file core/modules/file/tests/src/Functional/Formatter/FileAudioFormatterTest.php
FileAudioFormatterTest::$defaultTheme property core/modules/file/tests/src/Functional/Formatter/FileAudioFormatterTest.php The theme to install as the default for testing.
FileAudioFormatterTest::testRender function core/modules/file/tests/src/Functional/Formatter/FileAudioFormatterTest.php @covers ::viewElements
FileCache class core/lib/Drupal/Component/FileCache/FileCache.php Allows to cache data based on file modification dates.
FileCache.php file core/lib/Drupal/Component/FileCache/FileCache.php
FileCache::$cache property core/lib/Drupal/Component/FileCache/FileCache.php The cache backend backing this FileCache object.
FileCache::$cached property core/lib/Drupal/Component/FileCache/FileCache.php Static cache that contains already loaded cache entries.
FileCache::$collection property core/lib/Drupal/Component/FileCache/FileCache.php The collection identifier of this cache.
FileCache::$prefix property core/lib/Drupal/Component/FileCache/FileCache.php Prefix that is used for cache entries.
FileCache::delete function core/lib/Drupal/Component/FileCache/FileCache.php Deletes data from the cache.
FileCache::get function core/lib/Drupal/Component/FileCache/FileCache.php Gets data based on a filename.
FileCache::getMultiple function core/lib/Drupal/Component/FileCache/FileCache.php Gets data based on filenames.
FileCache::reset function core/lib/Drupal/Component/FileCache/FileCache.php Resets the static cache.
FileCache::set function core/lib/Drupal/Component/FileCache/FileCache.php Stores data based on a filename.
FileCache::__construct function core/lib/Drupal/Component/FileCache/FileCache.php Constructs a FileCache object.
FileCacheBackendInterface interface core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php Defines an interface inspired by APCu for FileCache backends.
FileCacheBackendInterface.php file core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php
FileCacheBackendInterface::delete function core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php Deletes data from a cache backend.
FileCacheBackendInterface::fetch function core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php Fetches data from the cache backend.
FileCacheBackendInterface::store function core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php Stores data into a cache backend.
FileCacheFactory class core/lib/Drupal/Component/FileCache/FileCacheFactory.php Creates a FileCache object.
FileCacheFactory.php file core/lib/Drupal/Component/FileCache/FileCacheFactory.php
FileCacheFactory::$configuration property core/lib/Drupal/Component/FileCache/FileCacheFactory.php The configuration used to create FileCache objects.
FileCacheFactory::$prefix property core/lib/Drupal/Component/FileCache/FileCacheFactory.php The cache prefix.
FileCacheFactory::DISABLE_CACHE constant core/lib/Drupal/Component/FileCache/FileCacheFactory.php The configuration key to disable FileCache completely.

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