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
FileElementTest::$modules property core/modules/system/tests/src/Kernel/Form/FileElementTest.php Modules to install.
FileElementTest::testFileElement function core/modules/system/tests/src/Kernel/Form/FileElementTest.php Tests that file elements are built and processed correctly.
FileEntityFormatterTest class core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the default file formatter.
FileEntityFormatterTest.php file core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php
FileEntityFormatterTest::$files property core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php The files.
FileEntityFormatterTest::$fileUrlGenerator property core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php The file URL generator.
FileEntityFormatterTest::$modules property core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Modules to install.
FileEntityFormatterTest::setUp function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php
FileEntityFormatterTest::testFormatterFileExtension function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_extension field formatter.
FileEntityFormatterTest::testFormatterFileLink function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_link field formatter.
FileEntityFormatterTest::testFormatterFileLinkWithQueryString function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_link field formatter using a query string.
FileEntityFormatterTest::testFormatterFileMime function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_extension field formatter.
FileEntityFormatterTest::testFormatterFileSize function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_size field formatter.
FileEntityFormatterTest::testFormatterFileUri function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_link field formatter.
FileEventSubscriber class core/modules/file/src/EventSubscriber/FileEventSubscriber.php Sanitizes uploaded filenames.
FileEventSubscriber.php file core/modules/file/src/EventSubscriber/FileEventSubscriber.php
FileEventSubscriber::getSubscribedEvents function core/modules/file/src/EventSubscriber/FileEventSubscriber.php
FileEventSubscriber::sanitizeFilename function core/modules/file/src/EventSubscriber/FileEventSubscriber.php Sanitizes the filename of a file being uploaded.
FileEventSubscriber::__construct function core/modules/file/src/EventSubscriber/FileEventSubscriber.php Constructs a new file event listener.
FileException class core/lib/Drupal/Core/File/Exception/FileException.php Base class for exceptions related to file handling operations.
FileException.php file core/lib/Drupal/Core/File/Exception/FileException.php
FileExists.php file core/lib/Drupal/Core/File/FileExists.php
FileExistsException class core/lib/Drupal/Core/File/Exception/FileExistsException.php Exception thrown when a file unexpectedly exists.
FileExistsException.php file core/lib/Drupal/Core/File/Exception/FileExistsException.php
FileExtensionConstraint class core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraint.php File extension constraint.
FileExtensionConstraint.php file core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraint.php
FileExtensionConstraint::$extensions property core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraint.php The allowed file extensions.
FileExtensionConstraint::$message property core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraint.php The error message.
FileExtensionConstraint::getDefaultOption function core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraint.php
FileExtensionConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraintValidator.php Validates the file extension constraint.
FileExtensionConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraintValidator.php
FileExtensionConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraintValidator.php
FileExtensionConstraintValidatorTest class core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionConstraintValidatorTest.php Tests the FileExtensionConstraintValidator.
FileExtensionConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionConstraintValidatorTest.php
FileExtensionConstraintValidatorTest::providerTestFileValidateExtensionsOnUri function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionConstraintValidatorTest.php Data provider for ::testFileExtensionOnUri.
FileExtensionConstraintValidatorTest::testFileExtensionOnUri function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionConstraintValidatorTest.php Tests the FileExtensionConstraintValidator.
FileExtensionFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php Formatter to render a filename as file extension.
FileExtensionFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php
FileExtensionFormatter::defaultSettings function core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php Defines the default settings for this plugin.
FileExtensionFormatter::isApplicable function core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php Returns if the formatter can be used for the provided field.
FileExtensionFormatter::settingsForm function core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php Returns a form to configure settings for the formatter.
FileExtensionFormatter::viewValue function core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php Generate the output appropriate for one field item.
FileExtensionSecureConstraint class core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraint.php File extension secure constraint.
FileExtensionSecureConstraint.php file core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraint.php
FileExtensionSecureConstraint::$message property core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraint.php The error message.
FileExtensionSecureConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php Validator for the FileExtensionSecureConstraint.
FileExtensionSecureConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php
FileExtensionSecureConstraintValidator::create function core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php Instantiates a new instance of this class.
FileExtensionSecureConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php
FileExtensionSecureConstraintValidator::__construct function core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php Creates a new FileExtensionSecureConstraintValidator.

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