[persistenceManager]
Properties
allowedFileMounts
- Option path
- persistenceManager.allowedFileMounts
- Data type
- array
- Needed by
- Frontend/ Backend (form manager/ form editor/ plugin)
- Mandatory
- Yes (if allowedExtensionPaths is not set)
- Default value
persistenceManager: allowedFileMounts: 10: '1:/form_definitions/'
Copied!- Good to know
- Form/ File storages
- 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
- persistenceManager.allowSaveToExtensionPaths
- Data type
- bool
- Needed by
- Backend (form manager)
- Mandatory
- Yes
- Default value
persistenceManager: allowSaveToExtensionPaths: false
Copied!- Good to know
- Form/ File storages
- Description
- Set this to
true
if you want to allow backend users to edit forms stored within your own extension.
allowDeleteFromExtensionPaths
- Option path
- persistenceManager.allowDeleteFromExtensionPaths
- Data type
- bool
- Needed by
- Backend (form manager)
- Mandatory
- Yes
- Default value
persistenceManager: allowDeleteFromExtensionPaths: false
Copied!- Good to know
- Form/ File storages
- Description
- Set this to
true
if you want to allow backend users to delete forms stored within your own extension.
sortByKeys
- Option path
- persistenceManager.sortByKeys
- Data type
- array
- Needed by
- Backend (form manager)
- Mandatory
- Yes
- Default value
persistenceManager: sortByKeys: ['name', 'fileUid']
Copied!- Good to know
- Form/ File storages
- 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
- persistenceManager.sortAscending
- Data type
- bool
- Needed by
- Backend (form manager)
- Mandatory
- Yes
- Default value
persistenceManager: sortAscending: true
Copied!- Good to know
- Form/ File storages
- Description
- If set to
true
, the forms will be sorted in ascending, otherwise in descending order.
allowedExtensionPaths
- Option path
- 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
- Form/ File storages
- Description
-
Define the paths to folders which contain forms within your own extension. For example:
allowedExtensionPaths: 10: EXT:my_site_package/Resources/Private/Forms/
Copied!