‪TYPO3CMS  ‪main
TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration Class Reference
Inheritance diagram for TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration:
TYPO3\CMS\Form\Domain\Runtime\FormRuntime\Lifecycle\AfterFormStateInitializedInterface

Public Member Functions

 __construct (protected readonly ValidatorResolver $validatorResolver)
 
 afterBuildingFinished (RenderableInterface $renderable)
 
 afterFormStateInitialized (FormRuntime $formRuntime)
 

Protected Member Functions

 checkSaveFileMountAccess (string $saveToFileMountIdentifier)
 
 adjustPropertyMappingForFileUploadsAtRuntime (FormRuntime $formRuntime, RenderableInterface $renderable)
 

Detailed Description

Scope: frontend

Definition at line 37 of file PropertyMappingConfiguration.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration::__construct ( protected readonly ValidatorResolver  $validatorResolver)

Definition at line 39 of file PropertyMappingConfiguration.php.

Member Function Documentation

◆ adjustPropertyMappingForFileUploadsAtRuntime()

TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration::adjustPropertyMappingForFileUploadsAtRuntime ( FormRuntime  $formRuntime,
RenderableInterface  $renderable 
)
protected

If the form runtime is able to process form submissions (determined by $formRuntime->canProcessFormSubmission()) then a 'form session' is available. This form session identifier will be used to deriving storage sub-folders for the file uploads. This is done by setting UploadedFileReferenceConverter::CONFIGURATION_UPLOAD_SEED type converter option.

Definition at line 170 of file PropertyMappingConfiguration.php.

References TYPO3\CMS\Form\Domain\Runtime\FormRuntime\canProcessFormSubmission(), TYPO3\CMS\Form\Mvc\Property\TypeConverter\UploadedFileReferenceConverter\CONFIGURATION_UPLOAD_SEED, TYPO3\CMS\Form\Domain\Runtime\FormRuntime\getFormSession(), and TYPO3\CMS\Form\Domain\Model\Renderable\RootRenderableInterface\getIdentifier().

Referenced by TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration\afterFormStateInitialized().

◆ afterBuildingFinished()

◆ afterFormStateInitialized()

TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration::afterFormStateInitialized ( FormRuntime  $formRuntime)

◆ checkSaveFileMountAccess()

TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration::checkSaveFileMountAccess ( string  $saveToFileMountIdentifier)
protected