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
FileUploadTest::getExpectedUnauthorizedAccessCacheability function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Returns the expected cacheability for an unauthorized response.
FileUploadTest::getExpectedUnauthorizedAccessMessage function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Return the expected error message.
FileUploadTest::getPostDocument function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Returns the JSON:API POST document referencing the uploaded file.
FileUploadTest::setUp function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php
FileUploadTest::setUp function core/modules/jsonapi/tests/src/Kernel/Controller/FileUploadTest.php
FileUploadTest::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Sets up the necessary authorization.
FileUploadTest::SKIP_METHODS constant core/modules/jsonapi/tests/src/Functional/FileUploadTest.php A list of test methods to skip.
FileUploadTest::testCheckFileUploadAccessWithBaseField function core/modules/jsonapi/tests/src/Kernel/Controller/FileUploadTest.php @covers ::checkFileUploadAccess
FileUploadTest::testFileUploadInvalidFileType function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload route with an invalid file type.
FileUploadTest::testFileUploadLargerFileSize function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload route with a file size larger than allowed.
FileUploadTest::testFileUploadMaliciousExtension function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload POST route with malicious extensions.
FileUploadTest::testFileUploadNoConfiguration function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload POST route no configuration.
FileUploadTest::testFileUploadStrippedFilePath function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload route with any path prefixes being stripped.
FileUploadTest::testFileUploadUnicodeFilename function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload route with a unicode file name.
FileUploadTest::testFileUploadZeroByteFile function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload route with a zero byte file.
FileUploadTest::testInvalidFileUploads function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests invalid file uploads.
FileUploadTest::testPostFileUpload function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload POST route; needs second request to "use" file.
FileUploadTest::testPostFileUploadAndUseInSingleRequest function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the 'file upload and "use" file in single request" POST route.
FileUploadTest::testPostFileUploadDuplicateFile function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload POST route with a duplicate file name.
FileUploadTest::testPostFileUploadInvalidHeaders function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload POST route with invalid headers.
FileUploadTest::testRelated function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests GET of the related resource of an individual resource.
FileUri class core/modules/file/src/Plugin/migrate/process/d6/FileUri.php Process the file URL into a D8 compatible URL.
FileUri.php file core/modules/file/src/Plugin/migrate/process/d6/FileUri.php
FileUri::transform function core/modules/file/src/Plugin/migrate/process/d6/FileUri.php Performs the associated process.
FileUriFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/FileUriFormatter.php Formatter to render the file URI to its download path.
FileUriFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileUriFormatter.php
FileUriFormatter::defaultSettings function core/modules/file/src/Plugin/Field/FieldFormatter/FileUriFormatter.php Defines the default settings for this plugin.
FileUriFormatter::isApplicable function core/modules/file/src/Plugin/Field/FieldFormatter/FileUriFormatter.php Returns if the formatter can be used for the provided field.
FileUriFormatter::settingsForm function core/modules/file/src/Plugin/Field/FieldFormatter/FileUriFormatter.php Returns a form to configure settings for the formatter.
FileUriFormatter::viewValue function core/modules/file/src/Plugin/Field/FieldFormatter/FileUriFormatter.php Generate the output appropriate for one field item.
FileUriItem class core/modules/file/src/Plugin/Field/FieldType/FileUriItem.php File-specific plugin implementation of a URI item to provide a full URL.
FileUriItem.php file core/modules/file/src/Plugin/Field/FieldType/FileUriItem.php
FileUriItem::propertyDefinitions function core/modules/file/src/Plugin/Field/FieldType/FileUriItem.php Defines field item properties.
FileUriItemTest class core/modules/file/tests/src/Kernel/FileUriItemTest.php File URI field item test.
FileUriItemTest.php file core/modules/file/tests/src/Kernel/FileUriItemTest.php
FileUriItemTest::testCustomFileUriField function core/modules/file/tests/src/Kernel/FileUriItemTest.php Tests the file entity override of the URI field.
FileUriTest class core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php @coversDefaultClass \Drupal\file\Plugin\migrate\process\d6\FileUri
@group file
FileUriTest.php file core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php
FileUriTest::$migrationConfiguration property core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php An array of migration configuration values.
FileUriTest::doTransform function core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php
FileUriTest::testPrivate function core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php
FileUriTest::testPrivateUnknownBasePath function core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php
FileUriTest::testPublic function core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php
FileUriTest::testPublicUnknownBasePath function core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php
FileUriTest::testTemporary function core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php
FileUriUnique class core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php Supports validating file URIs.
FileUriUnique.php file core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php
FileUriUnique::$caseSensitive property core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php This constraint is case-sensitive.
FileUriUnique::$message property core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php
FileUriUnique::validatedBy function core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php

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