BeforeFolderAddedEvent¶
The PSR-14 event \TYPO3\CMS\Core\Resource\Event\BeforeFolderAddedEvent
is
fired before a folder is about to be added to the resource
storage /
driver.
This allows to further specify folder names according to regulations for a
specific project.
Example¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API¶
- class BeforeFolderAddedEvent ¶
-
- Fully qualified name
- \TYPO3\CMS\Core\Resource\Event\BeforeFolderAddedEvent
This event is fired before a folder is about to be added to the Resource Storage / Driver.
This allows to further specify folder names according to regulations for a specific project.
- getParentFolder ( ) ¶
-
- Returns
-
\TYPO3\CMS\Core\Resource\Folder
- getFolderName ( ) ¶
-
- Returns
-
string