| 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::getDownloadHeaders |
function |
core/modules/file/src/FileInterface.php |
Examines a file entity and returns content headers for download. |
| 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::__construct |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraint.php |
#[HasNamedArguments] |
| 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. |
| FileIsImageConstraintValidatorTest.php |
file |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php |
|
| FileIsImageConstraintValidatorTest::$image |
property |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php |
An image file. |
| FileIsImageConstraintValidatorTest::$nonImage |
property |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php |
A file which is not an image. |
| FileIsImageConstraintValidatorTest::setUp |
function |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php |
|
| FileIsImageConstraintValidatorTest::testFileIsImage |
function |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php |
This ensures a specific file is actually an image. |
| FileItem |
class |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Plugin implementation of the 'file' field type. |
| FileItem.php |
file |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
|
| FileItem::defaultFieldSettings |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Defines the field-level settings for this plugin. |
| FileItem::defaultStorageSettings |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Defines the storage-level settings for this plugin. |
| FileItem::doGetUploadLocation |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Determines the URI for a file field. |
| FileItem::fieldSettingsForm |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Returns a form for the field-level settings. |
| FileItem::generateSampleValue |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Generates placeholder field values. |
| FileItem::getPreconfiguredOptions |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Returns preconfigured field options for a field type. |
| FileItem::getUploadLocation |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Determines the URI for a file field. |
| FileItem::getUploadValidators |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Retrieves the upload validators for a file field. |
| FileItem::isDisplayed |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Determines whether an item should be displayed when rendering the field. |
| FileItem::propertyDefinitions |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Defines field item properties. |
| FileItem::schema |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Returns the schema for the field. |
| FileItem::storageSettingsForm |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Returns a form for the storage-level settings. |
| FileItem::storageSettingsSummary |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Returns a short summary of the field's storage-level settings. |
| FileItem::validateDirectory |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Form API callback. |
| FileItem::validateExtensions |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Form API callback. |