.. include:: ../../Includes.txt .. _typo3.cms.form.persistencemanager: ==================== [persistenceManager] ==================== .. _typo3.cms.form.persistencemanager-properties: Properties ========== .. _typo3.cms.form.persistencemanager.allowedfilemounts: allowedFileMounts ----------------- :aspect:`Option path` TYPO3.CMS.Form.persistenceManager.allowedFileMounts :aspect:`Data type` array :aspect:`Needed by` Frontend/ Backend (form manager/ form editor/ plugin) :aspect:`Mandatory` Yes (if :ref:`allowedExtensionPaths ` is not set) :aspect:`Default value` .. code-block:: yaml :linenos: :emphasize-lines: 3 persistenceManager: allowedFileMounts: 10: '1:/user_upload/' :aspect:`Good to know` :ref:`Form/ File storages` :aspect:`Description` EXT:form stores the form definitions within the file system and thus needs write access to this storage. By default, the folder ``user_uploads`` is used. It is possible to configure a different and/ or an additional filemount which is then utilized for storing and reading forms. .. _typo3.cms.form.persistencemanager.allowSaveToExtensionPaths: allowSaveToExtensionPaths ------------------------- :aspect:`Option path` TYPO3.CMS.Form.persistenceManager.allowSaveToExtensionPaths :aspect:`Data type` bool :aspect:`Needed by` Backend (form manager) :aspect:`Mandatory` Yes :aspect:`Default value` .. code-block:: yaml :linenos: :emphasize-lines: 2 persistenceManager: allowSaveToExtensionPaths: false :aspect:`Good to know` :ref:`Form/ File storages` :aspect:`Description` Set this to ``true`` if you want to allow backend users to **edit** forms stored within your own extension. .. _typo3.cms.form.persistencemanager.allowDeleteFromExtensionPaths: allowDeleteFromExtensionPaths ----------------------------- :aspect:`Option path` TYPO3.CMS.Form.persistenceManager.allowDeleteFromExtensionPaths :aspect:`Data type` bool :aspect:`Needed by` Backend (form manager) :aspect:`Mandatory` Yes :aspect:`Default value` .. code-block:: yaml :linenos: :emphasize-lines: 2 persistenceManager: allowDeleteFromExtensionPaths: false :aspect:`Good to know` :ref:`Form/ File storages` :aspect:`Description` Set this to ``true`` if you want to allow backend users to **delete** forms stored within your own extension. .. _typo3.cms.form.persistencemanager.allowedExtensionPaths: allowedExtensionPaths --------------------- :aspect:`Option path` TYPO3.CMS.Form.persistenceManager.allowedExtensionPaths :aspect:`Data type` array :aspect:`Needed by` Frontend/ Backend (form manager/ form editor/ plugin) :aspect:`Mandatory` Yes (if :ref:`allowedFileMounts ` is not set) :aspect:`Default value` undefined :aspect:`Good to know` :ref:`Form/ File storages` :aspect:`Description` Define the paths to folders which contain forms within your own extension. For example: .. code-block:: yaml allowedExtensionPaths: 10: EXT:my_site_package/Resources/Private/Forms/