| UploadedFileConstraint.php |
file |
core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php |
|
| UploadedFileConstraint::$maxSize |
property |
core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php |
The upload max size. Defaults to checking the environment. |
| UploadedFileConstraint::$uploadErrorMessage |
property |
core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php |
The generic file upload error message. |
| UploadedFileConstraint::$uploadFormSizeErrorMessage |
property |
core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php |
The upload form size error message. |
| UploadedFileConstraint::$uploadIniSizeErrorMessage |
property |
core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php |
The upload ini size error message. |
| UploadedFileConstraint::$uploadNoFileErrorMessage |
property |
core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php |
The upload no file error message. |
| UploadedFileConstraint::$uploadPartialErrorMessage |
property |
core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php |
The upload partial error message. |
| UploadedFileConstraintValidator |
class |
core/modules/file/src/Validation/Constraint/UploadedFileConstraintValidator.php |
Constraint validator for uploaded files. |
| UploadedFileConstraintValidator.php |
file |
core/modules/file/src/Validation/Constraint/UploadedFileConstraintValidator.php |
|
| UploadedFileConstraintValidator::validate |
function |
core/modules/file/src/Validation/Constraint/UploadedFileConstraintValidator.php |
|
| UploadedFileConstraintValidatorTest |
class |
core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php |
Tests the uploaded file validator. |
| UploadedFileConstraintValidatorTest.php |
file |
core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php |
|
| UploadedFileConstraintValidatorTest::$filename |
property |
core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php |
The file name. |
| UploadedFileConstraintValidatorTest::$maxSize |
property |
core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php |
The max 4 MB filesize to use for testing. |
| UploadedFileConstraintValidatorTest::$modules |
property |
core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php |
Modules to install. |
| UploadedFileConstraintValidatorTest::$path |
property |
core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php |
The temporary file path. |
| UploadedFileConstraintValidatorTest::$validator |
property |
core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php |
A validator. |
| UploadedFileConstraintValidatorTest::setUp |
function |
core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php |
|
| UploadedFileConstraintValidatorTest::testValidateFail |
function |
core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php |
Tests validate fail. |
| UploadedFileConstraintValidatorTest::testValidateSuccess |
function |
core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php |
Tests validate success. |
| UploadedFileConstraintValidatorTest::validateProvider |
function |
core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php |
Data provider for ::testValidateFail. |
| UploadedFileInterface |
interface |
core/modules/file/src/Upload/UploadedFileInterface.php |
Provides an interface for uploaded files. |
| UploadedFileInterface.php |
file |
core/modules/file/src/Upload/UploadedFileInterface.php |
|
| UploadedFileInterface::getClientOriginalName |
function |
core/modules/file/src/Upload/UploadedFileInterface.php |
Returns the original file name. |
| UploadedFileInterface::getFilename |
function |
core/modules/file/src/Upload/UploadedFileInterface.php |
Gets the filename. |
| UploadedFileInterface::getPathname |
function |
core/modules/file/src/Upload/UploadedFileInterface.php |
Gets the path to the file. |
| UploadedFileInterface::getRealPath |
function |
core/modules/file/src/Upload/UploadedFileInterface.php |
Gets the absolute path to the file. |
| UploadedFileInterface::getSize |
function |
core/modules/file/src/Upload/UploadedFileInterface.php |
Gets file size. |
| UploadedFileInterface::validate |
function |
core/modules/file/src/Upload/UploadedFileInterface.php |
Validates the uploaded file information. |
| UploadHelpTest::testUnlimitedFileSize |
function |
core/modules/file/tests/src/Kernel/UploadHelpTest.php |
Verify the size limit text does not appear if the size is unlimited. |
| UrlTransformRelativeTest::providerFileUrlTransformRelative |
function |
core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php |
Provides data for testing URL transformation. |
| UrlTransformRelativeTest::testFileUrlTransformRelative |
function |
core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php |
Tests transformRelative() function. |
| UsageTest::createTempFiles |
function |
core/modules/file/tests/src/Kernel/UsageTest.php |
Create files for all the possible combinations of age and status. |
| UsageTest::testFileUsageWithEntityTranslation |
function |
core/modules/file/tests/src/Kernel/UsageTest.php |
Tests file usage with translated entities. |
| UsageTest::testTempFileCleanupDefault |
function |
core/modules/file/tests/src/Kernel/UsageTest.php |
Ensure that temporary files are removed by default. |
| UsageTest::testTempFileCustomCleanup |
function |
core/modules/file/tests/src/Kernel/UsageTest.php |
Ensure that temporary files are kept as configured. |
| UsageTest::testTempFileNoCleanup |
function |
core/modules/file/tests/src/Kernel/UsageTest.php |
Ensure that temporary files are kept as configured. |
| UserPictureFile |
class |
core/modules/user/src/Plugin/migrate/source/d6/UserPictureFile.php |
Drupal 6 user picture source from database. |
| UserPictureFile.php |
file |
core/modules/user/src/Plugin/migrate/source/d6/UserPictureFile.php |
|
| UserPictureFile::$filePath |
property |
core/modules/user/src/Plugin/migrate/source/d6/UserPictureFile.php |
The file directory path. |
| UserPictureFile::$tempFilePath |
property |
core/modules/user/src/Plugin/migrate/source/d6/UserPictureFile.php |
The temporary file path. |
| UserPictureFile::fields |
function |
core/modules/user/src/Plugin/migrate/source/d6/UserPictureFile.php |
Returns available fields on the source. |
| UserPictureFile::getIds |
function |
core/modules/user/src/Plugin/migrate/source/d6/UserPictureFile.php |
Defines the source fields uniquely identifying a source row. |
| UserPictureFile::initializeIterator |
function |
core/modules/user/src/Plugin/migrate/source/d6/UserPictureFile.php |
Initializes the iterator with the source data. |
| UserPictureFile::prepareRow |
function |
core/modules/user/src/Plugin/migrate/source/d6/UserPictureFile.php |
Adds additional data to the row. |
| UserPictureFile::query |
function |
core/modules/user/src/Plugin/migrate/source/d6/UserPictureFile.php |
Prepares query object to retrieve data from the source database. |
| UserPictureFileTest |
class |
core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserPictureFileTest.php |
Tests the d6_user_picture_file source plugin. |
| UserPictureFileTest.php |
file |
core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserPictureFileTest.php |
|
| UserPictureFileTest::$modules |
property |
core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserPictureFileTest.php |
Modules to install. |
| UserPictureFileTest::providerSource |
function |
core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserPictureFileTest.php |
Provides source data for ::testSource. |