FileFieldWidgetTest::testWidgetElement |
function |
core/modules/file/tests/src/Functional/FileFieldWidgetTest.php |
Tests file widget element. |
FileFieldWidgetTest::testWidgetValidation |
function |
core/modules/file/tests/src/Functional/FileFieldWidgetTest.php |
Tests validation with the Upload button. |
FileFormatterBase |
class |
core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php |
Base class for file formatters. |
FileFormatterBase.php |
file |
core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php |
|
FileFormatterBase::checkAccess |
function |
core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php |
Checks access to the given entity. |
FileFormatterBase::needsEntityLoad |
function |
core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php |
Returns whether the entity referenced by an item needs to be loaded. |
FileImageDimensionsConstraint |
class |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php |
File extension dimensions constraint. |
FileImageDimensionsConstraint.php |
file |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php |
|
FileImageDimensionsConstraint::$maxDimensions |
property |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php |
The maximum dimensions. |
FileImageDimensionsConstraint::$messageImageTooSmall |
property |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php |
The image too small message. |
FileImageDimensionsConstraint::$messageResizedImageTooSmall |
property |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php |
The resized image too small message. |
FileImageDimensionsConstraint::$messageResizeFailed |
property |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php |
The resize failed message. |
FileImageDimensionsConstraint::$minDimensions |
property |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php |
The minimum dimensions. |
FileImageDimensionsConstraintValidator |
class |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php |
Validator for the FileImageDimensionsConstraint. |
FileImageDimensionsConstraintValidator.php |
file |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php |
|
FileImageDimensionsConstraintValidator::create |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php |
Instantiates a new instance of this class. |
FileImageDimensionsConstraintValidator::validate |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php |
|
FileImageDimensionsConstraintValidator::__construct |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php |
Creates a new FileImageDimensionsConstraintValidator. |
FileImageDimensionsConstraintValidatorTest |
class |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php |
Tests the FileImageDimensionsConstraintValidator. |
FileImageDimensionsConstraintValidatorTest.php |
file |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php |
|
FileImageDimensionsConstraintValidatorTest::$image |
property |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php |
An image file. |
FileImageDimensionsConstraintValidatorTest::$nonImage |
property |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php |
A file which is not an image. |
FileImageDimensionsConstraintValidatorTest::setUp |
function |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php |
|
FileImageDimensionsConstraintValidatorTest::testFileValidateImageResolution |
function |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php |
This ensures the dimensions of a specific file is within bounds. |
FileInterface |
interface |
core/modules/file/src/FileInterface.php |
Defines getter and setter methods for file entity base fields. |
FileInterface.php |
file |
core/modules/file/src/FileInterface.php |
|
FileInterface::createFileUrl |
function |
core/modules/file/src/FileInterface.php |
Creates a file URL for the URI of this file. |
FileInterface::getCreatedTime |
function |
core/modules/file/src/FileInterface.php |
Returns the file entity creation timestamp. |
FileInterface::getFilename |
function |
core/modules/file/src/FileInterface.php |
Returns the name of the file. |
FileInterface::getFileUri |
function |
core/modules/file/src/FileInterface.php |
Returns the URI of the file. |
FileInterface::getMimeType |
function |
core/modules/file/src/FileInterface.php |
Returns the MIME type of the file. |
FileInterface::getSize |
function |
core/modules/file/src/FileInterface.php |
Returns the size of the file. |
FileInterface::isPermanent |
function |
core/modules/file/src/FileInterface.php |
Returns TRUE if the file is permanent. |
FileInterface::isTemporary |
function |
core/modules/file/src/FileInterface.php |
Returns TRUE if the file is temporary. |
FileInterface::setFilename |
function |
core/modules/file/src/FileInterface.php |
Sets the name of the file. |
FileInterface::setFileUri |
function |
core/modules/file/src/FileInterface.php |
Sets the URI of the file. |
FileInterface::setMimeType |
function |
core/modules/file/src/FileInterface.php |
Sets the MIME type of the file. |
FileInterface::setPermanent |
function |
core/modules/file/src/FileInterface.php |
Sets the file status to permanent. |
FileInterface::setSize |
function |
core/modules/file/src/FileInterface.php |
Sets the size of the file. |
FileInterface::setTemporary |
function |
core/modules/file/src/FileInterface.php |
Sets the file status to temporary. |
FileInterface::STATUS_PERMANENT |
constant |
core/modules/file/src/FileInterface.php |
Indicates that the file is permanent and should not be deleted. |
FileIsImageConstraint |
class |
core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraint.php |
File is image constraint. |
FileIsImageConstraint.php |
file |
core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraint.php |
|
FileIsImageConstraint::$message |
property |
core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraint.php |
The error message. |
FileIsImageConstraintValidator |
class |
core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraintValidator.php |
Validator for the FileIsImageConstraint. |
FileIsImageConstraintValidator.php |
file |
core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraintValidator.php |
|
FileIsImageConstraintValidator::create |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraintValidator.php |
Instantiates a new instance of this class. |
FileIsImageConstraintValidator::validate |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraintValidator.php |
|
FileIsImageConstraintValidator::__construct |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraintValidator.php |
Creates a new FileIsImageConstraintValidator. |
FileIsImageConstraintValidatorTest |
class |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php |
Tests the FileIsImageConstraintValidator. |