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
FileIsImageConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php
FileIsImageConstraintValidatorTest::$image property core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php An image file.
FileIsImageConstraintValidatorTest::$nonImage property core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php A file which is not an image.
FileIsImageConstraintValidatorTest::setUp function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php
FileIsImageConstraintValidatorTest::testFileIsImage function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php This ensures a specific file is actually an image.
FileItem class core/modules/file/src/Plugin/Field/FieldType/FileItem.php Plugin implementation of the 'file' field type.
FileItem.php file core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::defaultFieldSettings function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::defaultStorageSettings function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::doGetUploadLocation function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Determines the URI for a file field.
FileItem::fieldSettingsForm function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::generateSampleValue function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::getPreconfiguredOptions function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Returns preconfigured field options for a field type.
FileItem::getUploadLocation function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Determines the URI for a file field.
FileItem::getUploadValidators function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Retrieves the upload validators for a file field.
FileItem::isDisplayed function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Determines whether an item should be displayed when rendering the field.
FileItem::propertyDefinitions function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::schema function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::storageSettingsForm function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::storageSettingsSummary function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::validateDirectory function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileItem::validateExtensions function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileItem::validateMaxFilesize function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileItemTest class core/modules/file/tests/src/Kernel/FileItemTest.php Tests using entity fields of the file field type.
FileItemTest.php file core/modules/file/tests/src/Kernel/FileItemTest.php
FileItemTest::$directory property core/modules/file/tests/src/Kernel/FileItemTest.php Directory where the sample files are stored.
FileItemTest::$file property core/modules/file/tests/src/Kernel/FileItemTest.php Created file entity.
FileItemTest::$modules property core/modules/file/tests/src/Kernel/FileItemTest.php Modules to install.
FileItemTest::setUp function core/modules/file/tests/src/Kernel/FileItemTest.php Set the default field storage backend for fields created during tests.
FileItemTest::testFileItem function core/modules/file/tests/src/Kernel/FileItemTest.php Tests using entity fields of the file field type.
FileItemValidationTest class core/modules/file/tests/src/Kernel/FileItemValidationTest.php Tests that files referenced in file and image fields are always validated.
FileItemValidationTest.php file core/modules/file/tests/src/Kernel/FileItemValidationTest.php
FileItemValidationTest::$modules property core/modules/file/tests/src/Kernel/FileItemValidationTest.php Modules to install.
FileItemValidationTest::$user property core/modules/file/tests/src/Kernel/FileItemValidationTest.php A user.
FileItemValidationTest::getFileTypes function core/modules/file/tests/src/Kernel/FileItemValidationTest.php Provides a list of file types to test.
FileItemValidationTest::setUp function core/modules/file/tests/src/Kernel/FileItemValidationTest.php
FileItemValidationTest::testFileValidationConstraint function core/modules/file/tests/src/Kernel/FileItemValidationTest.php @covers \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraint
@covers \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraintValidator
@dataProvider getFileTypes
FileJsonAnonTest class core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php @group rest
FileJsonAnonTest.php file core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php
FileJsonAnonTest::$defaultTheme property core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php The theme to install as the default for testing.
FileJsonAnonTest::$format property core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php The format to use in this test.
FileJsonAnonTest::$mimeType property core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php The MIME type that corresponds to $format.
FileJsonBasicAuthTest class core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php @group rest
FileJsonBasicAuthTest.php file core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php
FileJsonBasicAuthTest::$auth property core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php The authentication mechanism to use in this test.
FileJsonBasicAuthTest::$defaultTheme property core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php The theme to install as the default for testing.
FileJsonBasicAuthTest::$format property core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php The format to use in this test.
FileJsonBasicAuthTest::$mimeType property core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php The MIME type that corresponds to $format.
FileJsonBasicAuthTest::$modules property core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php Modules to install.
FileJsonCookieTest class core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php @group rest

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