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
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::create function core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php Instantiates a new instance of this class.
FileValidationConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php
FileValidationConstraintValidator::__construct function core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php Creates a new FileValidationConstraintValidator.
FileValidationEvent class core/modules/file/src/Validation/FileValidationEvent.php Event for file validations.
FileValidationEvent.php file core/modules/file/src/Validation/FileValidationEvent.php
FileValidationEvent::__construct function core/modules/file/src/Validation/FileValidationEvent.php Creates a new FileValidationEvent.
FileValidationException class core/modules/file/src/Upload/FileValidationException.php Provides an exception for upload validation errors.
FileValidationException.php file core/modules/file/src/Upload/FileValidationException.php
FileValidationException::$errors property core/modules/file/src/Upload/FileValidationException.php The validation errors.
FileValidationException::$fileName property core/modules/file/src/Upload/FileValidationException.php The file name.
FileValidationException::getErrors function core/modules/file/src/Upload/FileValidationException.php Gets the errors.
FileValidationException::getFilename function core/modules/file/src/Upload/FileValidationException.php Gets the file name.
FileValidationException::__construct function core/modules/file/src/Upload/FileValidationException.php Constructs a new FileValidationException.
FileValidationTestSubscriber class core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileValidationTestSubscriber.php Provides a validation listener for file validation tests.
FileValidationTestSubscriber.php file core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileValidationTestSubscriber.php
FileValidationTestSubscriber::getSubscribedEvents function core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileValidationTestSubscriber.php
FileValidationTestSubscriber::onFileValidation function core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileValidationTestSubscriber.php Handles the file validation event.
FileValidator class core/modules/file/src/Validation/FileValidator.php Provides a class for file validation.
FileValidator.php file core/modules/file/src/Validation/FileValidator.php
FileValidator::validate function core/modules/file/src/Validation/FileValidator.php
FileValidator::__construct function core/modules/file/src/Validation/FileValidator.php Creates a new FileValidator.
FileValidatorInterface interface core/modules/file/src/Validation/FileValidatorInterface.php Provides a file validator that supports a list of validations.
FileValidatorInterface.php file core/modules/file/src/Validation/FileValidatorInterface.php
FileValidatorInterface::validate function core/modules/file/src/Validation/FileValidatorInterface.php Validates a File with a list of validators.
FileValidatorSettingsTrait trait core/modules/file/src/Validation/FileValidatorSettingsTrait.php Provides a trait to create validators from settings.
FileValidatorSettingsTrait.php file core/modules/file/src/Validation/FileValidatorSettingsTrait.php
FileValidatorSettingsTrait::getFileUploadValidators function core/modules/file/src/Validation/FileValidatorSettingsTrait.php Gets the upload validators for the specified settings.
FileValidatorTest class core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php Tests the file validator.
FileValidatorTest.php file core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php
FileValidatorTest::$modules property core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php Modules to install.
FileValidatorTest::testValidate function core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php Tests the validator.
FileValidatorTestBase class core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php Provides a base file constraint validator test.
FileValidatorTestBase.php file core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php
FileValidatorTestBase::$file property core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php The file.
FileValidatorTestBase::$modules property core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php Modules to install.
FileValidatorTestBase::$validator property core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php The file validator.
FileValidatorTestBase::setUp function core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.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.

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