| currentMenu | events |
|---|
BoomCMS makes use of Laravel's event classes making it easy for developers to extend CMS functionality.
Before reading this section you should be familiar with Laravel events, in particular how to listen for and respond to events, by reading the Event documentation at http://laravel.com/docs/5.1/events
Event classes can be found in the BoomCMS\Events namespace. BoomCMS fires these events after certain actions:
| Action | Notes | Event class |
|---|---|---|
| Page created | BoomCMS\Events\PageWasCreated | |
| Approval requested for page drafts | BoomCMS\Events\PageApprovalRequested | |
| Page template changed | BoomCMS\Events\PageTemplateChanged | |
| Page title changed | BoomCMS\Events\PageTitleWasChanged | |
| Page deleted | BoomCMS\Events\PageWasDeleted | |
| Page made visible | Event fired when an invisible page has it's visibility setting changed to 'visible' | BoomCMS\Events\PageWasMadeVisible |
| Page published | Events fired when a page version is set to be published. Won't be fired if changes are embargoed | BoomCMS\Events\PageWasPublished |
| Chunk created | Fired when chunk content is saved (i.e. a new version of a chunk is created | BoomCMS\Events\ChunkWasCreated |
| Action | Event class |
|---|---|
| Failed Login | BoomCMS\Events\FailedLogin |
| Successful Login | BoomCMS\Events\SuccessfulLogin |
| Logout | BoomCMS\Events\Logout |