[persistenceManager]¶
Properties¶
allowedFileMounts¶
- Option path
TYPO3.CMS.Form.persistenceManager.allowedFileMounts
- Data type
array
- Needed by
Frontend/ Backend (form manager/ form editor/ plugin)
- Mandatory
Yes (if allowedExtensionPaths is not set)
- Default value
1persistenceManager: 2 allowedFileMounts: 3 10: '1:/form_definitions/'
- Good to know
- Description
EXT:form stores the form definitions within the file system and thus needs write access to this storage. By default, the folder
form_definitions
is created and used. It is possible to configure a different and/ or an additional filemount which is then utilized for storing and reading forms.
allowSaveToExtensionPaths¶
- Option path
TYPO3.CMS.Form.persistenceManager.allowSaveToExtensionPaths
- Data type
bool
- Needed by
Backend (form manager)
- Mandatory
Yes
- Default value
1persistenceManager: 2 allowSaveToExtensionPaths: false
- Good to know
- Description
Set this to
true
if you want to allow backend users to edit forms stored within your own extension.
allowDeleteFromExtensionPaths¶
- Option path
TYPO3.CMS.Form.persistenceManager.allowDeleteFromExtensionPaths
- Data type
bool
- Needed by
Backend (form manager)
- Mandatory
Yes
- Default value
1persistenceManager: 2 allowDeleteFromExtensionPaths: false
- Good to know
- Description
Set this to
true
if you want to allow backend users to delete forms stored within your own extension.
sortByKeys¶
- Option path
TYPO3.CMS.Form.persistenceManager.sortByKeys
- Data type
array
- Needed by
Backend (form manager)
- Mandatory
Yes
- Default value
persistenceManager: sortByKeys: ['name', 'fileUid']
- Good to know
- Description
The keys by which the forms should be sorted in the Form module and in the form plugin select.
Valid keys, by which the forms can be sorted, are:
name
The forms name.
identifier
The filename.
fileUid
The files uid.
persistenceIdentifier
The files location.
Example:
1:/form_definitions/contact.form.yaml
readOnly
Is the form readonly?
removable
Is the form removable?
location
Either
storage
orextension
invalid
Does the form have an error?
sortAscending¶
- Option path
TYPO3.CMS.Form.persistenceManager.sortAscending
- Data type
bool
- Needed by
Backend (form manager)
- Mandatory
Yes
- Default value
persistenceManager: sortAscending: true
- Good to know
- Description
If set to
true
, the forms will be sorted in ascending, otherwise in descending order.
allowedExtensionPaths¶
- Option path
TYPO3.CMS.Form.persistenceManager.allowedExtensionPaths
- Data type
array
- Needed by
Frontend/ Backend (form manager/ form editor/ plugin)
- Mandatory
Yes (if allowedFileMounts is not set)
- Default value
undefined
- Good to know
- Description
Define the paths to folders which contain forms within your own extension. For example:
allowedExtensionPaths: 10: EXT:my_site_package/Resources/Private/Forms/