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
FileFieldWidgetTest::testMultiValuedWidget function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testMultiValuedWidget function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testPrivateFileComment function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests that download restrictions on private files work on comments.
FileFieldWidgetTest::testPrivateFileSetting function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests a file field with a "Private files" upload destination setting.
FileFieldWidgetTest::testSingleValuedWidget function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests upload and remove buttons for a single-valued File field.
FileFieldWidgetTest::testSingleValuedWidget function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests uploading and remove buttons for a single-valued File field.
FileFieldWidgetTest::testTemporaryFileRemovalExploit function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests exploiting the temporary file removal of another user using fid.
FileFieldWidgetTest::testTemporaryFileRemovalExploitAnonymous function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests exploiting the temporary file removal for anonymous users using fid.
FileFieldWidgetTest::testUploadingMoreFilesThanAllowed function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests uploading more files than allowed at once.
FileFieldWidgetTest::testWidgetElement function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests file widget element.
FileFieldWidgetTest::testWidgetValidation function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests validation with the Upload button.
FileFormatterBase class core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php Base class for file formatters.
FileFormatterBase.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php
FileFormatterBase::checkAccess function core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php Checks access to the given entity.
FileFormatterBase::needsEntityLoad function core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php Returns whether the entity referenced by an item needs to be loaded.
FileHooks class core/modules/file/src/Hook/FileHooks.php Hook implementations for file.
FileHooks.php file core/modules/file/src/Hook/FileHooks.php
FileHooks::cron function core/modules/file/src/Hook/FileHooks.php Implements hook_cron().
FileHooks::fieldWidgetInfoAlter function core/modules/file/src/Hook/FileHooks.php Implements hook_field_widget_info_alter().
FileHooks::fileDownload function core/modules/file/src/Hook/FileHooks.php Implements hook_file_download().
FileHooks::filePredelete function core/modules/file/src/Hook/FileHooks.php Implements hook_ENTITY_TYPE_predelete() for file entities.
FileHooks::formSystemFileSystemSettingsAlter function core/modules/file/src/Hook/FileHooks.php Implements hook_form_FORM_ID_alter().
FileHooks::help function core/modules/file/src/Hook/FileHooks.php Implements hook_help().
FileHooks::theme function core/modules/file/src/Hook/FileHooks.php Implements hook_theme().
FileHooks::tokenInfo function core/modules/file/src/Hook/FileHooks.php Implements hook_token_info().
FileHooks::tokens function core/modules/file/src/Hook/FileHooks.php Implements hook_tokens().
FileImageDimensionsConstraint class core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php File extension dimensions constraint.
FileImageDimensionsConstraint.php file core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php
FileImageDimensionsConstraint::$maxDimensions property core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php The maximum dimensions.
FileImageDimensionsConstraint::$messageImageTooSmall property core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php The image too small message.
FileImageDimensionsConstraint::$messageResizedImageTooSmall property core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php The resized image too small message.
FileImageDimensionsConstraint::$messageResizeFailed property core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php The resize failed message.
FileImageDimensionsConstraint::$minDimensions property core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php The minimum dimensions.
FileImageDimensionsConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php Validator for the FileImageDimensionsConstraint.
FileImageDimensionsConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php
FileImageDimensionsConstraintValidator::create function core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php Instantiates a new instance of this class.
FileImageDimensionsConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php
FileImageDimensionsConstraintValidator::__construct function core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php Creates a new FileImageDimensionsConstraintValidator.
FileImageDimensionsConstraintValidatorTest class core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php Tests the FileImageDimensionsConstraintValidator.
FileImageDimensionsConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php
FileImageDimensionsConstraintValidatorTest::$image property core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php An image file.
FileImageDimensionsConstraintValidatorTest::$nonImage property core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php A file which is not an image.
FileImageDimensionsConstraintValidatorTest::setUp function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php
FileImageDimensionsConstraintValidatorTest::testFileValidateImageResolution function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php This ensures the dimensions of a specific file is within bounds.
FileInterface interface core/modules/file/src/FileInterface.php Defines getter and setter methods for file entity base fields.
FileInterface.php file core/modules/file/src/FileInterface.php
FileInterface::createFileUrl function core/modules/file/src/FileInterface.php Creates a file URL for the URI of this file.
FileInterface::getCreatedTime function core/modules/file/src/FileInterface.php Returns the file entity creation timestamp.
FileInterface::getFilename function core/modules/file/src/FileInterface.php Returns the name of the file.
FileInterface::getFileUri function core/modules/file/src/FileInterface.php Returns the URI of the file.

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