This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Other events¶
Bookmarks¶
The following events are dispatched when adding content items to bookmarks.
| Event | Dispatched by | Properties |
|---|---|---|
BeforeCreateBookmarkEvent |
BookmarkService::createBookmark |
Location $location |
CreateBookmarkEvent |
BookmarkService::createBookmark |
Location $location |
BeforeDeleteBookmarkEvent |
BookmarkService::deleteBookmark |
Location $location |
DeleteBookmarkEvent |
BookmarkService::deleteBookmark |
Location $location |
Notifications¶
The following events refer to notifications displayed in the user menu.
| Event | Dispatched by | Properties |
|---|---|---|
BeforeCreateNotificationEvent |
NotificationService::createNotification |
CreateStruct $createStructNotification|null $notification |
CreateNotificationEvent |
NotificationService::createNotification |
Notification $notificationCreateStruct $createStruct |
BeforeDeleteNotificationEvent |
NotificationService::deleteNotification |
Notification $notification |
DeleteNotificationEvent |
NotificationService::deleteNotification |
Notification $notification |
BeforeMarkNotificationAsReadEvent |
NotificationService::markNotificationAsRead |
Notification $notification |
MarkNotificationAsReadEvent |
NotificationService::markNotificationAsRead |
Notification $notification |
BeforeMarkNotificationAsUnreadEvent |
NotificationService::markNotificationAsUnread |
Notification $notification |
MarkNotificationAsUnreadEvent |
NotificationService::markNotificationAsUnread |
Notification $notification |
Settings¶
The following events refer to key/value application-wide settings in database.
| Event | Dispatched by | Properties |
|---|---|---|
BeforeCreateSettingEvent |
SettingService::createSetting |
SettingCreateStruct $settingCreateStructSetting|null $setting |
CreateSettingEvent |
SettingService::createSetting |
Setting $settingSettingCreateStruct $settingCreateStruct |
BeforeUpdateSettingEvent |
SettingService::updateSetting |
Setting $settingSettingUpdateStruct $settingUpdateStructSetting|null $updatedSetting |
UpdateSettingEvent |
SettingService::updateSetting |
Setting $updatedSettingSetting $settingSettingUpdateStruct $settingUpdateStruct |
BeforeDeleteSettingEvent |
SettingService::deleteSetting |
Setting $setting |
DeleteSettingEvent |
SettingService::deleteSetting |
Setting $setting |
User preferences¶
The following events are dispatched when changing the user settings available in the user menu.
| Event | Dispatched by | Properties |
|---|---|---|
BeforeSetUserPreferenceEvent |
UserPreferenceService::setUserPreference |
UserPreferenceSetStruct[] $userPreferenceSetStructs |
SetUserPreferenceEvent |
UserPreferenceService::setUserPreference |
UserPreferenceSetStruct[] $userPreferenceSetStructs |
DAM assets¶
| Event | Dispatched by | Properties |
|---|---|---|
PublishVersionEvent |
PublishAssetEventDispatcher::emitPublishAssetEvent |
Content $contentConnector\Dam\AssetIdentifier $assetIdentifierConnector\Dam\AssetSource $assetSource |
Image Editor¶
The following event is dispatched when the Image Editor optimizes an image. You can subscribe to it to customize the list of active image optimizers at runtime.
For more information, see Customizing image optimizers with an event.
| Event | Dispatched by | Properties |
|---|---|---|
ConfigureImageOptimizersEvent |
SpatieChainOptimizer::optimize |
array<Spatie\ImageOptimizer\Optimizer> $optimizers |
Form Builder ¶
| Event | Dispatched by | Properties |
|---|---|---|
FieldAttributeDefinitionEvent |
FieldDefinitionFactory::getAttributesDefinitions |
FieldAttributeDefinitionBuilder $definitionBuilderarray $configuration |
FieldDefinitionEvent |
FieldDefinitionFactory::getFieldDefinition |
FieldDefinitionBuilder $definitionBuilderarray $configuration |
FieldValidatorDefinitionEvent |
FieldDefinitionFactory::getValidatorsDefinitions |
FieldDefinitionBuilder $definitionBuilderarray $configuration |
FormActionEvent |
HandleFormSubmission::handleFormSubmission |
ContentView $contentViewIbexa\Contracts\FormBuilder\FieldType\Model\Form $formstring $actionmixed $data |
FormSubmitEvent |
HandleFormSubmission::handleFormSubmission |
ContentView $contentViewIbexa\Contracts\FormBuilder\FieldType\Model\Form $formarray $data |