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 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()¶
- Return type
TYPO3\CMS\Core\Resource\Folder
- getFolderName()¶
- Return type
string