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
File::getMetadataAttributes function core/modules/media/src/Plugin/media/Source/File.php Gets a list of metadata attributes provided by this plugin.
File::getMimeType function core/modules/file/src/Entity/File.php Returns the MIME type of the file.
File::getSize function core/modules/file/src/Entity/File.php Returns the size of the file.
File::getThumbnail function core/modules/media/src/Plugin/media/Source/File.php Gets the thumbnail image URI based on a file entity.
File::init function core/modules/file/src/Plugin/views/field/File.php Initialize the plugin.
File::initializeIterator function core/modules/file/src/Plugin/migrate/source/d6/File.php Initializes the iterator with the source data.
File::initializeIterator function core/modules/file/src/Plugin/migrate/source/d7/File.php Initializes the iterator with the source data.
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
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.

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