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
FileMediaFormatterInterface::getMediaType function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php Gets the applicable media type for a formatter.
FileMediaFormatterTestBase class core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Provides methods specifically for testing File module's media formatter's.
FileMediaFormatterTestBase.php file core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php
FileMediaFormatterTestBase::$modules property core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Modules to install.
FileMediaFormatterTestBase::createMediaField function core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Creates a file field and set's the correct formatter.
FileMediaFormatterTestBase::dataProvider function core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Data provider for testRender.
FileMediaFormatterTestBase::setUp function core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php
FileMigrationSetupTrait trait core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php A trait to setup the file migration.
FileMigrationSetupTrait.php file core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php
FileMigrationSetupTrait::assertEntity function core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php Tests a single file entity.
FileMigrationSetupTrait::fileMigrationSetup function core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php Prepare the file migration for running.
FileMigrationSetupTrait::getFileMigrationInfo function core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php Returns information about the file to be migrated.
FileMigrationTestTrait trait core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php Helper for setting up a file migration test.
FileMigrationTestTrait.php file core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php
FileMigrationTestTrait::prepareMigration function core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php
FileMigrationTestTrait::setUpMigratedFiles function core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php Setup and execute d6_file migration.
FilemimeFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/FilemimeFormatter.php Formatter to render the file MIME type, with an optional icon.
FilemimeFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/FilemimeFormatter.php
FilemimeFormatter::defaultSettings function core/modules/file/src/Plugin/Field/FieldFormatter/FilemimeFormatter.php Defines the default settings for this plugin.
FilemimeFormatter::isApplicable function core/modules/file/src/Plugin/Field/FieldFormatter/FilemimeFormatter.php Returns if the formatter can be used for the provided field.
FilemimeFormatter::settingsForm function core/modules/file/src/Plugin/Field/FieldFormatter/FilemimeFormatter.php Returns a form to configure settings for the formatter.
FilemimeFormatter::viewValue function core/modules/file/src/Plugin/Field/FieldFormatter/FilemimeFormatter.php Generate the output appropriate for one field item.
FileModuleTestForm class core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php Form controller for file_module_test module.
FileModuleTestForm.php file core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php
FileModuleTestForm::buildForm function core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php
FileModuleTestForm::getFormId function core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php Returns a unique string identifying the form.
FileModuleTestForm::submitForm function core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php Form submission handler.
FileMoveTest class core/modules/image/tests/src/Kernel/FileMoveTest.php Tests the file move function for images and image styles.
FileMoveTest class core/tests/Drupal/KernelTests/Core/File/FileMoveTest.php Tests the unmanaged file move function.
FileMoveTest.php file core/modules/image/tests/src/Kernel/FileMoveTest.php
FileMoveTest.php file core/tests/Drupal/KernelTests/Core/File/FileMoveTest.php
FileMoveTest::$fileRepository property core/modules/image/tests/src/Kernel/FileMoveTest.php The file repository service.
FileMoveTest::$modules property core/modules/image/tests/src/Kernel/FileMoveTest.php Modules to install.
FileMoveTest::setUp function core/modules/image/tests/src/Kernel/FileMoveTest.php
FileMoveTest::testMissing function core/tests/Drupal/KernelTests/Core/File/FileMoveTest.php Try to move a missing file.
FileMoveTest::testNormal function core/modules/image/tests/src/Kernel/FileMoveTest.php Tests moving a randomly generated image.
FileMoveTest::testNormal function core/tests/Drupal/KernelTests/Core/File/FileMoveTest.php Move a normal file.
FileMoveTest::testOverwriteSelf function core/tests/Drupal/KernelTests/Core/File/FileMoveTest.php Try to move a file onto itself.
FileNameLengthConstraint class core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraint.php File name length constraint.
FileNameLengthConstraint.php file core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraint.php
FileNameLengthConstraint::$maxLength property core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraint.php The maximum file name length.
FileNameLengthConstraint::$messageEmpty property core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraint.php The message when file name is empty.
FileNameLengthConstraint::$messageTooLong property core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraint.php The message when file name is too long.
FileNameLengthConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php Validates the file name length constraint.
FileNameLengthConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php
FileNameLengthConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php
FileNameLengthConstraintValidatorTest class core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileNameLengthConstraintValidatorTest.php Tests the FileNameLengthConstraintValidator.
FileNameLengthConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileNameLengthConstraintValidatorTest.php
FileNameLengthConstraintValidatorTest::testFileValidateNameLength function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileNameLengthConstraintValidatorTest.php This will ensure the filename length is valid.
FileNotExistsException class core/lib/Drupal/Core/File/Exception/FileNotExistsException.php Exception thrown when a file is expected to exist but does not.

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