| File::fields |
function |
core/modules/file/src/Plugin/migrate/source/d6/File.php |
Returns available fields on the source. |
| 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::getDownloadHeaders |
function |
core/modules/file/src/Entity/File.php |
Examines a file entity and returns content headers for download. |
| 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 |
Returns the element properties for this element. |
| File::getMetadata |
function |
core/modules/media/src/Plugin/media/Source/File.php |
Gets the value for a metadata attribute for a given media item. |
| 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 |
Prepares query object to retrieve data from the source database. |
| File::query |
function |
core/modules/file/src/Plugin/migrate/source/d7/File.php |
Prepares query object to retrieve data from the source database. |
| 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 which runs on file formatters. |