Search for file

  1. Search 7.x for file
  2. Search 9.5.x for file
  3. Search 10.3.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
FileUploadTest::createEntity function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Creates the entity to be tested.
FileUploadTest::fileRequest function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Performs a file upload request. Wraps the Guzzle HTTP client.
FileUploadTest::getExpectedDocument function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Returns the expected JSON:API document for the expected file entity.
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::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Sets up the necessary authorization.
FileUploadTest::testCollection function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php @requires module irrelevant_for_this_test
FileUploadTest::testDeleteIndividual function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php @requires module irrelevant_for_this_test
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::testFileUploadNoExtensionSetting function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload POST route no extension configured.
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::testGetIndividual function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php @requires module irrelevant_for_this_test
FileUploadTest::testPatchIndividual function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php @requires module irrelevant_for_this_test
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::testPostFileUploadDuplicateFileRaceCondition function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload POST route twice, simulating a race condition.
FileUploadTest::testPostFileUploadInvalidHeaders function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload POST route with invalid headers.
FileUploadTest::testPostIndividual function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php @requires module irrelevant_for_this_test
FileUploadTest::testRelationships function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php @requires module irrelevant_for_this_test
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

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