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::fields function core/modules/file/src/Plugin/migrate/source/d7/File.php Returns available fields on the source.
File::getCreatedTime function core/modules/file/src/Entity/File.php Returns the file entity creation timestamp.
File::getDefaultEntityOwner function core/modules/file/src/Entity/File.php Default value callback for 'owner' base field.
File::getFilename function core/modules/file/src/Entity/File.php Returns the name of the file.
File::getFileUri function core/modules/file/src/Entity/File.php Returns the URI of the file.
File::getIds function core/modules/file/src/Plugin/migrate/source/d6/File.php Defines the source fields uniquely identifying a source row.
File::getIds function core/modules/file/src/Plugin/migrate/source/d7/File.php Defines the source fields uniquely identifying a source row.
File::getInfo function core/lib/Drupal/Core/Render/Element/File.php
File::getMetadata function core/modules/media/src/Plugin/media/Source/File.php
File::getMetadataAttributes function core/modules/media/src/Plugin/media/Source/File.php
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
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
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
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
FileAccessControlHandler::checkCreateAccess function core/modules/file/src/FileAccessControlHandler.php
FileAccessControlHandler::checkFieldAccess function core/modules/file/src/FileAccessControlHandler.php
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().

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