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 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::invalidateTagsOnSave function core/modules/file/src/Entity/File.php Invalidates an entity's cache tags upon save.
File::isPermanent function core/modules/file/src/Entity/File.php Returns TRUE if the file is permanent.
File::isTemporary function core/modules/file/src/Entity/File.php Returns TRUE if the file is temporary.
File::METADATA_ATTRIBUTE_MIME constant core/modules/media/src/Plugin/media/Source/File.php Key for "MIME type" metadata attribute.
File::METADATA_ATTRIBUTE_NAME constant core/modules/media/src/Plugin/media/Source/File.php Key for "Name" metadata attribute.
File::METADATA_ATTRIBUTE_SIZE constant core/modules/media/src/Plugin/media/Source/File.php Key for "File size" metadata attribute.
File::preCreate function core/modules/file/src/Entity/File.php Changes the values of an entity before it is created.
File::preDelete function core/modules/file/src/Entity/File.php Acts on entities before they are deleted and before hooks are invoked.
File::prepareRow function core/modules/file/src/Plugin/migrate/source/d6/File.php Adds additional data to the row.
File::prepareRow function core/modules/file/src/Plugin/migrate/source/d7/File.php Adds additional data to the row.
File::preRenderFile function core/lib/Drupal/Core/Render/Element/File.php Prepares a #type 'file' render element for input.html.twig.
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::valueCallback function core/lib/Drupal/Core/Render/Element/File.php Determines how user input is mapped to an element's #value property.
File::__construct function core/modules/file/src/Plugin/views/field/File.php Constructs a File object.
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
FileAddPermissionsUpdateTest class core/modules/file/tests/src/Functional/FileAddPermissionsUpdateTest.php Tests file_post_update_add_permissions_to_roles().
FileAddPermissionsUpdateTest.php file core/modules/file/tests/src/Functional/FileAddPermissionsUpdateTest.php
FileAddPermissionsUpdateTest::setDatabaseDumpFiles function core/modules/file/tests/src/Functional/FileAddPermissionsUpdateTest.php Set database dump files to be used.
FileAddPermissionsUpdateTest::testUpdate function core/modules/file/tests/src/Functional/FileAddPermissionsUpdateTest.php Tests adding 'delete own files' permission.
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
@group #slow
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.

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