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
FileUriUnique class core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php Supports validating file URIs.
FileUriUnique.php file core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php
FileUriUnique::$message property core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php
FileUriUnique::validatedBy function core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php
FileUrlTest class core/modules/file/tests/src/Kernel/FileUrlTest.php Tests the file url.
FileUrlTest.php file core/modules/file/tests/src/Kernel/FileUrlTest.php
FileUrlTest::testFilesUrlWithDifferentHostName function core/modules/file/tests/src/Kernel/FileUrlTest.php Test public files with a different host name from settings.
FileUsageBase class core/modules/file/src/FileUsage/FileUsageBase.php Defines the base class for database file usage backend.
FileUsageBase.php file core/modules/file/src/FileUsage/FileUsageBase.php
FileUsageBase::$configFactory property core/modules/file/src/FileUsage/FileUsageBase.php The config factory.
FileUsageBase::add function core/modules/file/src/FileUsage/FileUsageBase.php Records that a module is using a file.
FileUsageBase::delete function core/modules/file/src/FileUsage/FileUsageBase.php Removes a record to indicate that a module is no longer using a file.
FileUsageBase::__construct function core/modules/file/src/FileUsage/FileUsageBase.php Creates a FileUsageBase object.
FileUsageInterface interface core/modules/file/src/FileUsage/FileUsageInterface.php File usage backend interface.
FileUsageInterface.php file core/modules/file/src/FileUsage/FileUsageInterface.php
FileUsageInterface::add function core/modules/file/src/FileUsage/FileUsageInterface.php Records that a module is using a file.
FileUsageInterface::delete function core/modules/file/src/FileUsage/FileUsageInterface.php Removes a record to indicate that a module is no longer using a file.
FileUsageInterface::listUsage function core/modules/file/src/FileUsage/FileUsageInterface.php Determines where a file is used.
FileUsageTemporaryDeletionConfigurationUpdateTest class core/modules/file/tests/src/Functional/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php Tests the upgrade path for setting the file usage deletion configuration.
FileUsageTemporaryDeletionConfigurationUpdateTest.php file core/modules/file/tests/src/Functional/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php
FileUsageTemporaryDeletionConfigurationUpdateTest::$modules property core/modules/file/tests/src/Functional/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php Modules to enable after the database is loaded.
FileUsageTemporaryDeletionConfigurationUpdateTest::setDatabaseDumpFiles function core/modules/file/tests/src/Functional/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php Set database dump files to be used.
FileUsageTemporaryDeletionConfigurationUpdateTest::testUpdateHookN function core/modules/file/tests/src/Functional/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php Tests that make_unused_managed_files_temporary conditions are correct.
FileValidationConstraint class core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php Validation File constraint.
FileValidationConstraint.php file core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php
FileValidationConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php Checks that a file referenced in a file field is valid.
FileValidationConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php
FileValidationConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php
FileVideoFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Plugin implementation of the 'file_video' formatter.
FileVideoFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php
FileVideoFormatter::defaultSettings function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Defines the default settings for this plugin.
FileVideoFormatter::getMediaType function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Gets the applicable media type for a formatter.
FileVideoFormatter::prepareAttributes function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Prepare the attributes according to the settings.
FileVideoFormatter::settingsForm function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Returns a form to configure settings for the formatter.
FileVideoFormatter::settingsSummary function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Returns a short summary for the current formatter settings.
FileVideoFormatterTest class core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php @coversDefaultClass \Drupal\file\Plugin\Field\FieldFormatter\FileVideoFormatter
@group file
FileVideoFormatterTest.php file core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php
FileVideoFormatterTest::$defaultTheme property core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php The theme to install as the default for testing.
FileVideoFormatterTest::testAttributes function core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php Tests that the attributes added to the formatter are applied on render.
FileVideoFormatterTest::testRender function core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php @covers ::viewElements
FileViewsData class core/modules/file/src/FileViewsData.php Provides views data for the file entity type.
FileViewsData.php file core/modules/file/src/FileViewsData.php
FileViewsData::getViewsData function core/modules/file/src/FileViewsData.php Returns views data for the entity type.
FileViewsDataTest class core/modules/options/tests/src/Kernel/Views/FileViewsDataTest.php Tests file views data.
FileViewsDataTest.php file core/modules/options/tests/src/Kernel/Views/FileViewsDataTest.php
FileViewsDataTest::$modules property core/modules/options/tests/src/Kernel/Views/FileViewsDataTest.php Modules to install.
FileViewsDataTest::setUp function core/modules/options/tests/src/Kernel/Views/FileViewsDataTest.php
FileViewsDataTest::testRelationshipViewsData function core/modules/options/tests/src/Kernel/Views/FileViewsDataTest.php Tests views data generated for file field relationship.
FileViewsFieldAccessTest class core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php Tests base field access in Views for the file entity.
FileViewsFieldAccessTest.php file core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php

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