| FileFormHooks::formSystemFileSystemSettingsAlter |
function |
core/modules/file/src/Hook/FileFormHooks.php |
Implements hook_form_FORM_ID_alter(). |
| FileFormHooks::settingsSubmit |
function |
core/modules/file/src/Hook/FileFormHooks.php |
Form submission handler for file system settings form. |
| FileFormHooks::__construct |
function |
core/modules/file/src/Hook/FileFormHooks.php |
|
| FileHooks |
class |
core/modules/file/src/Hook/FileHooks.php |
Hook implementations for file. |
| FileHooks.php |
file |
core/modules/file/src/Hook/FileHooks.php |
|
| FileHooks::fieldWidgetInfoAlter |
function |
core/modules/file/src/Hook/FileHooks.php |
Implements hook_field_widget_info_alter(). |
| FileHooks::filePredelete |
function |
core/modules/file/src/Hook/FileHooks.php |
Implements hook_ENTITY_TYPE_predelete() for file entities. |
| FileHooks::help |
function |
core/modules/file/src/Hook/FileHooks.php |
Implements hook_help(). |
| 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::$minDimensions |
property |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php |
The minimum dimensions. |
| FileImageDimensionsConstraint::__construct |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php |
#[HasNamedArguments] |
| 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::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. |