[persistenceManager] 

Properties 

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 form identifier.
fileUid
The UID of a form file in a file mount. Forms in the database and in extensions have no file UID.
persistenceIdentifier

The UID of a form record, or the path of a form file in an extension.

Example: EXT:my_site_package/Resources/Private/Forms/contact.form.yaml

readOnly
Is the form readonly?
removable
Is the form removable?
storageType
Either database or extension.
storageLocation
The location of the form in its storage.
invalid
Does the form have an error?

Changed in version 14.2 Feature: #108653 - Database storage for form extension

The key location was replaced by storageType and storageLocation.

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
No
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!