- Documentation >
- Guide >
- Repository >
- Event reference >
- Other events
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 $createStruct Notification|null $notification |
CreateNotificationEvent |
NotificationService::createNotification |
Notification $notification CreateStruct $createStruct |
BeforeDeleteNotificationEvent |
NotificationService::deleteNotification |
Notification $notification |
DeleteNotificationEvent |
NotificationService::deleteNotification |
Notification $notification |
BeforeMarkNotificationAsReadEvent |
NotificationService::markNotificationAsRead |
Notification $notification |
MarkNotificationAsReadEvent |
NotificationService::markNotificationAsRead |
Notification $notification |
Settings
The following events refer to key/value application-wide settings in database.
Event |
Dispatched by |
Properties |
BeforeCreateSettingEvent |
SettingService::createSetting |
SettingCreateStruct $settingCreateStruct Setting|null $setting |
CreateSettingEvent |
SettingService::createSetting |
Setting $setting SettingCreateStruct $settingCreateStruct |
BeforeUpdateSettingEvent |
SettingService::updateSetting |
Setting $setting SettingUpdateStruct $settingUpdateStruct Setting|null $updatedSetting |
UpdateSettingEvent |
SettingService::updateSetting |
Setting $updatedSetting Setting $setting SettingUpdateStruct $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 $content Connector\Dam\AssetIdentifier $assetIdentifier Connector\Dam\AssetSource $assetSource |
Event |
Dispatched by |
Properties |
FieldAttributeDefinitionEvent |
FieldDefinitionFactory::getAttributesDefinitions |
FieldAttributeDefinitionBuilder $definitionBuilder array $configuration |
FieldDefinitionEvent |
FieldDefinitionFactory::getFieldDefinition |
FieldDefinitionBuilder $definitionBuilder array $configuration |
FieldValidatorDefinitionEvent |
FieldDefinitionFactory::getValidatorsDefinitions |
FieldDefinitionBuilder $definitionBuilder array $configuration |
FormActionEvent |
HandleFormSubmission::handleFormSubmission |
ContentView $contentView EzPlatformFormBuilder\FieldType\Model\Form $form string $action mixed $data |
FormSubmitEvent |
HandleFormSubmission::handleFormSubmission |
ContentView $contentView EzPlatformFormBuilder\FieldType\Model\Form $form array $data |