mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Merge pull request #2201 from nextcloud/new-events
New events for typed event handling
This commit is contained in:
@@ -167,6 +167,20 @@ Available Events
|
||||
|
||||
Here you find an overview of the public events that can be consumed in apps. See their source files for more details.
|
||||
|
||||
``\OCA\Files_Sharing\Event\BeforeTemplateRenderedEvent``
|
||||
********************************************************
|
||||
|
||||
*Available in Nextcloud 20 and later.*
|
||||
|
||||
Emitted before the rendering step of the public share page happens. The event holds a flag that specifies if it is the authentication page of a public share.
|
||||
|
||||
``\OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent``
|
||||
*************************************************************
|
||||
|
||||
*Available in Nextcloud 20 and later.*
|
||||
|
||||
Emitted before the rendering step of each TemplateResponse. The event holds a flag that specifies if an user is logged in.
|
||||
|
||||
``\OCP\Authentication\Events\LoginFailedEvent``
|
||||
***********************************************
|
||||
|
||||
|
||||
Reference in New Issue
Block a user