Search for source
- Search 7.x for source
- Search 8.9.x for source
- Search 10.3.x for source
- Search 11.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
FileTest::providerSource | function | core/ |
The data provider. |
FileTest::providerSource | function | core/ |
The data provider. |
FileUpload::handleFileUploadForExistingResource | function | core/ |
Handles JSON:API file upload requests. |
FileUpload::handleFileUploadForNewResource | function | core/ |
Handles JSON:API file upload requests. |
FileUploadForm::hideExtraSourceFieldComponents | function | core/ |
Processes an image or file source field element. |
FileUploadResource | class | core/ |
File upload resource. |
FileUploadResource.php | file | core/ |
|
FileUploadResource::$currentUser | property | core/ |
The currently authenticated user. |
FileUploadResource::$entityFieldManager | property | core/ |
The entity field manager. |
FileUploadResource::$entityTypeManager | property | core/ |
The entity type manager. |
FileUploadResource::$eventDispatcher | property | core/ |
The event dispatcher to dispatch the filename sanitize event. |
FileUploadResource::$fileSystem | property | core/ |
The file system service. |
FileUploadResource::$lock | property | core/ |
The lock service. |
FileUploadResource::$mimeTypeGuesser | property | core/ |
The MIME type guesser. |
FileUploadResource::$systemFileConfig | property | core/ |
|
FileUploadResource::$token | property | core/ |
The token replacement instance. |
FileUploadResource::BYTES_TO_READ | constant | core/ |
The amount of bytes to read in each iteration when streaming file data. |
FileUploadResource::create | function | core/ |
Creates an instance of the plugin. |
FileUploadResource::generateLockIdFromFileUri | function | core/ |
Generates a lock ID based on the file URI. |
FileUploadResource::getBaseRoute | function | core/ |
Gets the base route for a particular method. |
FileUploadResource::getBaseRouteRequirements | function | core/ |
Gets the base route requirements for a particular method. |
FileUploadResource::getUploadLocation | function | core/ |
Determines the URI for a file field. |
FileUploadResource::getUploadValidators | function | core/ |
Retrieves the upload validators for a field definition. |
FileUploadResource::permissions | function | core/ |
Implements ResourceInterface::permissions(). |
FileUploadResource::post | function | core/ |
Creates a file from an endpoint. |
FileUploadResource::prepareFilename | function | core/ |
Prepares the filename to strip out any malicious extensions. |
FileUploadResource::REQUEST_HEADER_FILENAME_REGEX | constant | core/ |
The regex used to extract the filename from the content disposition header. |
FileUploadResource::streamUploadData | function | core/ |
Streams file upload data to temporary file and moves to file destination. |
FileUploadResource::validate | function | core/ |
Validates the file. |
FileUploadResource::validateAndLoadFieldDefinition | function | core/ |
Validates and loads a field definition instance. |
FileUploadResource::validateAndParseContentDispositionHeader | function | core/ |
Validates and extracts the filename from the Content-Disposition header. |
FileUploadResource::__construct | function | core/ |
Constructs a FileUploadResource instance. |
FileUploadResourceTestBase | class | core/ |
Tests binary data file upload route. |
FileUploadResourceTestBase.php | file | core/ |
|
FileUploadResourceTestBase::$entity | property | core/ |
The parent entity. |
FileUploadResourceTestBase::$field | property | core/ |
The field config. |
FileUploadResourceTestBase::$fieldStorage | property | core/ |
The test field storage config. |
FileUploadResourceTestBase::$file | property | core/ |
Created file entity. |
FileUploadResourceTestBase::$fileStorage | property | core/ |
The entity storage for the 'file' entity type. |
FileUploadResourceTestBase::$modules | property | core/ |
Modules to install. |
FileUploadResourceTestBase::$postUri | property | core/ |
The POST URI. |
FileUploadResourceTestBase::$resourceConfigId | property | core/ |
The REST Resource Config entity ID under test (i.e. a resource type). |
FileUploadResourceTestBase::$testFileData | property | core/ |
Test file data. |
FileUploadResourceTestBase::$user | property | core/ |
An authenticated user. |
FileUploadResourceTestBase::assertNormalizationEdgeCases | function | core/ |
Asserts normalization-specific edge cases. |
FileUploadResourceTestBase::assertResponseData | function | core/ |
Asserts expected normalized data matches response data. |
FileUploadResourceTestBase::fileRequest | function | core/ |
Performs a file upload request. Wraps the Guzzle HTTP client. |
FileUploadResourceTestBase::getExpectedNormalizedEntity | function | core/ |
Gets the expected file entity. |
FileUploadResourceTestBase::getExpectedUnauthorizedAccessCacheability | function | core/ |
Returns the expected cacheability of an unauthorized access response. |
FileUploadResourceTestBase::getExpectedUnauthorizedAccessMessage | function | core/ |
Return the expected error message. |
Pagination
- Previous page
- Page 14
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.