Closed sy238-unikent closed 6 years ago
Adds page changing events to Astro using Laravel's standard events mechanism.
An App\Events\PageEvent event object is created and dispatched whenever a page changes.
Trigger a PageEvent whenever a page is modified and notify any dynamic blocks on that page.
The available events are defined as constants within the App\Events\PageEvent class.
This needs work in the future to include relevant / useful additional data for each event.
Adds page changing events to Astro using Laravel's standard events mechanism.
An App\Events\PageEvent event object is created and dispatched whenever a page changes.
Trigger a PageEvent whenever a page is modified and notify any dynamic blocks on that page.
The available events are defined as constants within the App\Events\PageEvent class.
This needs work in the future to include relevant / useful additional data for each event.