Search for load

  1. Search 7.x for load
  2. Search 9.5.x for load
  3. Search 10.3.x for load
  4. Search 11.x for load
  5. Other projects
Title Object type File name Summary
FileUploadResource::post function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Creates a file from an endpoint.
FileUploadResource::prepareFilename function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Prepares the filename to strip out any malicious extensions.
FileUploadResource::REQUEST_HEADER_FILENAME_REGEX constant core/modules/file/src/Plugin/rest/resource/FileUploadResource.php The regex used to extract the filename from the content disposition header.
FileUploadResource::streamUploadData function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Streams file upload data to temporary file and moves to file destination.
FileUploadResource::validate function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Validates the file.
FileUploadResource::validateAndLoadFieldDefinition function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Validates and loads a field definition instance.
FileUploadResource::validateAndParseContentDispositionHeader function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Validates and extracts the filename from the Content-Disposition header.
FileUploadResource::__construct function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Constructs a FileUploadResource instance.
FileUploadResourceTestBase class core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests binary data file upload route.
FileUploadResourceTestBase.php file core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php
FileUploadResourceTestBase::$entity property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php The parent entity.
FileUploadResourceTestBase::$field property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php The field config.
FileUploadResourceTestBase::$fieldStorage property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php The test field storage config.
FileUploadResourceTestBase::$file property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Created file entity.
FileUploadResourceTestBase::$fileStorage property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php The entity storage for the 'file' entity type.
FileUploadResourceTestBase::$modules property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Modules to install.
FileUploadResourceTestBase::$postUri property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php The POST URI.
FileUploadResourceTestBase::$resourceConfigId property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php The REST Resource Config entity ID under test (i.e. a resource type).
FileUploadResourceTestBase::$testFileData property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Test file data.
FileUploadResourceTestBase::$user property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php An authenticated user.
FileUploadResourceTestBase::assertNormalizationEdgeCases function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Asserts normalization-specific edge cases.
FileUploadResourceTestBase::assertResponseData function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Asserts expected normalized data matches response data.
FileUploadResourceTestBase::fileRequest function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Performs a file upload request. Wraps the Guzzle HTTP client.
FileUploadResourceTestBase::getExpectedNormalizedEntity function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Gets the expected file entity.
FileUploadResourceTestBase::getExpectedUnauthorizedAccessCacheability function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Returns the expected cacheability of an unauthorized access response.
FileUploadResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Return the expected error message.
FileUploadResourceTestBase::getNormalizedPostEntity function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Returns the normalized POST entity referencing the uploaded file.
FileUploadResourceTestBase::setUp function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php
FileUploadResourceTestBase::setUpAuthorization function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Sets up the necessary authorization.
FileUploadResourceTestBase::testFileUploadInvalidFileType function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload route with an invalid file type.
FileUploadResourceTestBase::testFileUploadLargerFileSize function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload route with a file size larger than allowed.
FileUploadResourceTestBase::testFileUploadMaliciousExtension function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload POST route with malicious extensions.
FileUploadResourceTestBase::testFileUploadNoExtensionSetting function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload POST route no extension configured.
FileUploadResourceTestBase::testFileUploadStrippedFilePath function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload route with any path prefixes being stripped.
FileUploadResourceTestBase::testFileUploadUnicodeFilename function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload route with a unicode file name.
FileUploadResourceTestBase::testFileUploadZeroByteFile function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload route with a zero byte file.
FileUploadResourceTestBase::testPostFileUpload function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload POST route.
FileUploadResourceTestBase::testPostFileUploadDuplicateFile function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload POST route with a duplicate file name.
FileUploadResourceTestBase::testPostFileUploadDuplicateFileRaceCondition function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload POST route twice, simulating a race condition.
FileUploadResourceTestBase::testPostFileUploadInvalidHeaders function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload POST route with invalid headers.
FileUploadTest class core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests binary data file upload route.
FileUploadTest.php file core/modules/jsonapi/tests/src/Functional/FileUploadTest.php
FileUploadTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php The theme to install as the default for testing.
FileUploadTest::$entity property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php The parent entity.
FileUploadTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php
FileUploadTest::$field property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php The field config.
FileUploadTest::$fieldStorage property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php The test field storage config.
FileUploadTest::$file property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Created file entity.
FileUploadTest::$fileStorage property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php The entity storage for the 'file' entity type.
FileUploadTest::$modules property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Modules to enable.

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