Search for file
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
File | class | core/ |
File entity media source. |
File | class | core/ |
Defines the file entity class. |
File | class | core/ |
Field handler to provide simple renderer that allows linking to a file. |
File | class | core/ |
Tests creating managed files views with the wizard. |
File | class | core/ |
Drupal 6 file source from database. |
File | class | core/ |
Drupal 7 file source from database. |
File | class | core/ |
Provides a form element for uploading a file. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
FileUploadResult::hasViolations | function | core/ |
Returns TRUE if there are constraint violations. |
FileUploadResult::isRenamed | function | core/ |
Returns if there was a file rename. |
FileUploadResult::isSecurityRename | function | core/ |
Returns if there was a security rename. |
FileUploadResult::setFile | function | core/ |
Sets the File entity. |
FileUploadResult::setOriginalFilename | function | core/ |
Sets the original filename. |
FileUploadResult::setSanitizedFilename | function | core/ |
Sets the sanitized filename. |
FileUploadResult::setSecurityRename | function | core/ |
Flags the result as having had a security rename. |
FileUploadResult::__construct | function | core/ |
Creates a new FileUploadResult. |
FileUploadSanitizeNameEvent | class | core/ |
An event during file upload that lets subscribers sanitize the filename. |
FileUploadSanitizeNameEvent.php | file | core/ |
|
FileUploadSanitizeNameEvent::$allowedExtensions | property | core/ |
A list of allowed extensions. |
FileUploadSanitizeNameEvent::$filename | property | core/ |
The name of the file being uploaded. |
FileUploadSanitizeNameEvent::$isSecurityRename | property | core/ |
Indicates the filename has changed for security reasons. |
FileUploadSanitizeNameEvent::getAllowedExtensions | function | core/ |
Gets the list of allowed extensions. |
FileUploadSanitizeNameEvent::getFilename | function | core/ |
Gets the filename. |
FileUploadSanitizeNameEvent::isSecurityRename | function | core/ |
Gets the security rename flag. |
FileUploadSanitizeNameEvent::setFilename | function | core/ |
Sets the filename. |
FileUploadSanitizeNameEvent::setSecurityRename | function | core/ |
Sets the security rename flag. |
FileUploadSanitizeNameEvent::stopPropagation | function | core/ |
|
FileUploadSanitizeNameEvent::__construct | function | core/ |
Constructs a file upload sanitize name event object. |
FileUploadSanitizeNameEventTest | class | core/ |
FileUploadSanitizeNameEvent tests. |
FileUploadSanitizeNameEventTest.php | file | core/ |
|
FileUploadSanitizeNameEventTest::provideFilenames | function | core/ |
Provides data for testEventFilenameFunctions(). |
FileUploadSanitizeNameEventTest::testAllowedExtensions | function | core/ |
@covers ::getAllowedExtensions |
FileUploadSanitizeNameEventTest::testConstructorException | function | core/ |
@covers ::__construct @covers ::setFilename |
FileUploadSanitizeNameEventTest::testEventFilenameFunctions | function | core/ |
Test event construction. |
FileUploadSanitizeNameEventTest::testSetFilename | function | core/ |
@covers ::setFilename @covers ::getFilename |
FileUploadSanitizeNameEventTest::testSetFilenameException | function | core/ |
@covers ::setFilename |
FileUploadSanitizeNameEventTest::testStopPropagation | function | core/ |
@covers ::stopPropagation |
FileUploadTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\Controller\FileUpload @group jsonapi |
FileUploadTest | class | core/ |
Tests binary data file upload route. |
FileUploadTest.php | file | core/ |
|
FileUploadTest.php | file | core/ |
|
FileUploadTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
FileUploadTest::$entity | property | core/ |
The parent entity. |
FileUploadTest::$entityTypeId | property | core/ |
|
FileUploadTest::$field | property | core/ |
The field config. |
FileUploadTest::$fieldStorage | property | core/ |
The test field storage config. |
FileUploadTest::$file | property | core/ |
Created file entity. |
FileUploadTest::$fileStorage | property | core/ |
The entity storage for the 'file' entity type. |
FileUploadTest::$modules | property | core/ |
Modules to install. |
FileUploadTest::$modules | property | core/ |
Modules to install. |
FileUploadTest::$postUri | property | core/ |
The POST URI. |
FileUploadTest::$resourceTypeName | property | core/ |
|
FileUploadTest::$testFileData | property | core/ |
Test file data. |
FileUploadTest::$user | property | core/ |
An authenticated user. |
FileUploadTest::assertResponseData | function | core/ |
Asserts expected normalized data matches response data. |
FileUploadTest::createEntity | function | core/ |
Creates the entity to be tested. |
FileUploadTest::fileRequest | function | core/ |
Performs a file upload request. Wraps the Guzzle HTTP client. |
FileUploadTest::getExpectedDocument | function | core/ |
Returns the expected JSON:API document for the expected file entity. |
Pagination
- Previous page
- Page 37
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.