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.
Signals reference¶
This page references all available Signals that you can listen to, triggered by ("Public") Repository API in eZ Platform.
For more information, check Listening to Core events.
All Signals are relative to eZ\Publish\Core\SignalSlot\Signal
namespace.
Transactions
Signals are sent after transactions are executed, making Signals transaction safe.
BookmarkService¶
Signal type | Properties | Triggered by |
---|---|---|
BookmarkService\CreateBookmarkSignal |
locationId |
BookmarkService::createBookmark() |
BookmarkService\DeleteBookmarkSignal |
locationId |
BookmarkService::deleteBookmark() |
ContentService¶
Signal type | Properties | Triggered by |
---|---|---|
ContentService\AddRelationSignal |
srcContentId (source contentId, aka referrer)srcVersionNo dstContentId (destination contentId, aka target) |
ContentService::addRelation() |
ContentService\AddTranslationInfoSignal (deprecated) |
N/A | |
ContentService\CopyContentSignal |
srcContentId (original content ID)srcVersionNo dstContentId (contentId of the copy)dstVersionNo dstParentLocationId (locationId where the content has been copied) |
ContentService::copyContent() |
ContentService\CreateContentDraftSignal |
contentId versionNo newVersionNo userId (ID of User used to create the draft, or null - current User)languageCode |
ContentService::createContentDraft() |
ContentService\CreateContentSignal |
contentId versionNo |
ContentService::createContent() |
ContentService\DeleteContentSignal |
contentId affectedLocationIds |
ContentService::deleteContent() |
ContentService\DeleteRelationSignal |
srcContentId srcVersionNo dstContentId |
ContentService::deleteRelation() |
ContentService\DeleteTranslationSignal |
contentId languageCode |
ContentService::deleteTranslation() |
ContentService\DeleteVersionSignal |
contentId versionNo |
ContentService::deleteVersion() |
ContentService\HideContentSignal |
contentId |
ContentService::hideContent() |
ContentService\PublishVersionSignal |
contentId versionNo affectedTranslations |
ContentService::publishVersion() |
ContentService\RevealContentSignal |
contentId |
ContentService::revealContent() |
ContentService\TranslateVersionSignal (deprecated) |
contentId versionNo userId |
|
ContentService\UpdateContentMetadataSignal |
contentId |
ContentService::updateContentMetadata() |
ContentService\UpdateContentSignal |
contentId versionNo |
ContentService::updateContent() |
ContentTypeService¶
Signal type | Properties | Triggered by |
---|---|---|
ContentTypeService\AddFieldDefinitionSignal |
contentTypeDraftId |
|
ContentTypeService\AssignContentTypeGroupSignal |
contentTypeId contentTypeGroupId |
ContentTypeService::assignContentTypeGroup() |
ContentTypeService\CopyContentTypeSignal |
contentTypeId userId |
ContentTypeService::copyContentType() |
ContentTypeService\CreateContentTypeDraftSignal |
contentTypeId |
ContentTypeService::createContentTypeDraft() |
ContentTypeService\CreateContentTypeGroupSignal |
groupId |
ContentTypeService::createContentTypeGroup() |
ContentTypeService\CreateContentTypeSignal |
contentTypeId |
ContentTypeService::createContentType() |
ContentTypeService\DeleteContentTypeGroupSignal |
contentTypeGroupId |
ContentTypeService::deleteContentTypeGroup() |
ContentTypeService\DeleteContentTypeSignal |
contentTypeId |
ContentTypeService::deleteContentType() |
ContentTypeService\PublishContentTypeDraftSignal |
contentTypeDraftId |
ContentTypeService::publishContentTypeDraft() |
ContentTypeService\RemoveFieldDefinitionSignal |
contentTypeDraftId fieldDefinitionId |
ContentTypeService::removeFieldDefinition() |
ContentTypeService\UnassignContentTypeGroupSignal |
contentTypeId contentTypeGroupId |
ContentTypeService::unassignContentTypeGroup() |
ContentTypeService\UpdateContentTypeDraftSignal |
contentTypeDraftId |
ContentTypeService::updateContentTypeDraft() |
ContentTypeService\UpdateContentTypeGroupSignal |
contentTypeGroupId |
ContentTypeService::updateContentTypeGroup() |
ContentTypeService\UpdateFieldDefinitionSignal |
contentTypeDraftId fieldDefinitionId |
ContentTypeService::updateFieldDefinition() |
ContentTypeService\RemoveContentTypeDraftTranslationSignal |
contentTypeDraftId languageCode |
ContentTypeService::removeContentTypeTranslation() |
LanguageService¶
Signal type | Properties | Triggered by |
---|---|---|
LanguageService\CreateLanguageSignal |
languageId |
LanguageService::createLanguage() |
LanguageService\DeleteLanguageSignal |
languageId |
LanguageService::deleteLanguage() |
LanguageService\DisableLanguageSignal |
languageId |
LanguageService::disableLanguage() |
LanguageService\EnableLanguageSignal |
languageId |
LanguageService::enableLanguage() |
LanguageService\UpdateLanguageNameSignal |
languageId newName |
LanguageService::updateLanguageName() |
LocationService¶
Signal type | Properties | Triggered by |
---|---|---|
LocationService\CopySubtreeSignal |
subtreeId (top locationId of the subtree to be copied)targetParentLocationId targetNewSubtreeId |
LocationService::copySubtree() |
LocationService\CreateLocationSignal |
contentId locationId parentLocationId |
LocationService::createLocation() |
LocationService\DeleteLocationSignal |
contentId locationId parentLocationId |
LocationService::deleteLocation() |
LocationService\HideLocationSignal |
contentId locationId currentVersionNo parentLocationId |
LocationService::hideLocation() |
LocationService\UnhideLocationSignal |
contentId locationId currentVersionNo parentLocationId |
LocationService::unhideLocation() |
LocationService\MoveSubtreeSignal |
subtreeId oldParentLocationId newParentLocationId |
LocationService::moveSubtree() |
LocationService\SwapLocationSignal |
content1Id location1Id parentLocation1Id content2Id location2Id parentLocation1Id |
LocationService::swapLocation() |
LocationService\UpdateLocationSignal |
contentId locationId parentLocationId |
LocationService::updateLocation() URLAliasService::refreshSystemUrlAliasesForLocation |
NotificationService¶
Signal type | Properties | Triggered by |
---|---|---|
NotificationService\NotificationCreateSigna |
ownerId type data |
NotificationService::createNotification |
NotificationService\NotificationDeleteSigna |
notificationId |
NotificationService::deleteNotification |
NotificationService\NotificationReadSignal |
notificationId |
NotificationService::markNotificationAsRead |
ObjectStateService¶
Signal type | Properties | Triggered by |
---|---|---|
ObjectStateService\CreateObjectStateGroupSignal |
objectStateGroupId |
ObjectStateService::createObjectStateGroup() |
ObjectStateService\CreateObjectStateSignal |
objectStateGroupId objectStateId |
ObjectStateService::createObjectState() |
ObjectStateService\DeleteObjectStateGroupSignal |
objectStateGroupId |
ObjectStateService::deleteObjectStateGroup() |
ObjectStateService\DeleteObjectStateSignal |
objectStateId |
ObjectStateService::deleteObjectState() |
ObjectStateService\SetContentStateSignal |
contentId objectStateGroupId objectStateId |
ObjectStateService::setContentState() |
ObjectStateService\SetPriorityOfObjectStateSignal |
objectStateId priority |
ObjectStateService::setPriorityOfObjectState() |
ObjectStateService\UpdateObjectStateGroupSignal |
objectStateGroupId |
ObjectStateService::updateObjectStateGroup() |
ObjectStateService\UpdateObjectStateSignal |
objectStateId |
ObjectStateService::updateObjectState() |
RoleService¶
Signal type | Properties | Triggered by |
---|---|---|
RoleService\AddPolicyByRoleDraftSignal |
roleId policyId |
RoleService::addPolicyByRoleDraft() |
RoleService\AddPolicySignal |
roleId policyId |
RoleService::addPolicy() |
RoleService\AssignRoleToUserGroupSignal |
roleId userGroupId roleLimitation |
RoleService::assignRoleToUserGroup() |
RoleService\AssignRoleToUserSignal |
roleId userId roleLimitation |
RoleService::assignRoleToUser() |
RoleService\CreateRoleDraftSignal |
roleId |
RoleService::createRoleDraft() |
RoleService\CreateRoleSignal |
roleId |
RoleService::createRole() |
RoleService\DeleteRoleDraftSignal |
roleId |
RoleService::deleteRoleDraft() |
RoleService\DeleteRoleSignal |
roleId |
RoleService::deleteRole() |
RoleService\PublishRoleDraftSignal |
roleId |
RoleService::publishRoleDraft() |
RoleService\RemovePolicyByRoleDraftSignal |
roleId policyId |
RoleService::removePolicyByRoleDraft() |
RoleService\RemovePolicySignal |
roleId policyId |
RoleService::removePolicy() |
RoleService\RemoveRoleAssignmentSignal |
roleAssignmentId |
RoleService::removeRoleAssignment() |
RoleService\UnassignRoleFromUserGroupSignal |
roleId userGroupId |
RoleService::unassignRoleFromUserGroup() (deprecated) |
RoleService\UnassignRoleFromUserSignal |
roleId userId |
RoleService::unassignRoleFromUser() (deprecated) |
RoleService\UpdatePolicySignal |
policyId |
RoleService::updatePolicy() (deprecated)RoleService::updatePolicyByRoleDraft() |
RoleService\UpdateRoleDraftSignal |
roleId |
RoleService::updateRoleDraft() |
RoleService\UpdateRoleSignal |
roleId |
RoleService::updateRole() (deprecated) |
SectionService¶
Signal type | Properties | Triggered by |
---|---|---|
SectionService\AssignSectionSignal |
contentId sectionId |
SectionService::assignSection() |
SectionService\AssignSectionToSubtreeSignal |
locationId sectionId |
SectionService::assignSectionToSubtree() |
SectionService\CreateSectionSignal |
sectionId |
SectionService::createSection() |
SectionService\DeleteSectionSignal |
sectionId |
SectionService::deleteSection() |
SectionService\UpdateSectionSignal |
sectionId |
SectionService::updateSection() |
TrashService¶
Signal type | Properties | Triggered by |
---|---|---|
TrashService\DeleteTrashItemSignal |
trashItemDeleteResult |
TrashService::deleteTrashItem() |
TrashService\EmptyTrashSignal |
trashItemDeleteResultList |
TrashService::emptyTrash() |
TrashService\RecoverSignal |
trashItemId contentId newParentLocationId newLocationId |
TrashService::recover() |
TrashService\TrashSignal |
locationId parentLocationId contentId contentTrashed |
TrashService::trash() |
URLAliasService¶
Signal type | Properties | Triggered by |
---|---|---|
URLAliasService\CreateGlobalUrlAliasSignal |
urlAliasId |
URLAliasService::createGlobalUrlAlias() |
URLAliasService\CreateUrlAliasSignal |
urlAliasId |
URLAliasService::createUrlAlias() |
URLAliasService\RemoveAliasesSignal |
aliasList |
URLAliasService::removeAliases() |
URLService¶
Signal type | Properties | Triggered by |
---|---|---|
URLService\UpdateUrlSignal |
urlId urlChanged |
URLService::updateUrl() |
URLWildcardService¶
Signal type | Properties | Triggered by |
---|---|---|
URLWildcardService\CreateSignal |
urlWildcardId |
URLWildcardService::create() |
URLWildcardService\RemoveSignal |
urlWildcardId |
URLWildcardService::remove() |
URLWildcardService\TranslateSignal |
url |
URLWildcardService::translate() |
UserService¶
Signal type | Properties | Triggered by |
---|---|---|
UserService\AssignUserToUserGroupSignal |
userId userGroupId |
UserService::assignUserToUserGroup() |
UserService\CreateUserGroupSignal |
userGroupId |
UserService::createUserGroup() |
UserService\CreateUserSignal |
userId |
UserService::createUser() |
UserService\DeleteUserGroupSignal |
userGroupId affectedLocationIds |
UserService::deleteUserGroup() |
UserService\DeleteUserSignal |
userId affectedLocationIds |
UserService::deleteUser() |
UserService\MoveUserGroupSignal |
userGroupId newParentId |
UserService::moveUserGroup() |
UserService\UnAssignUserFromUserGroupSignal |
userId userGroupId |
UserService::unAssignUserFromUserGroup() |
UserService\UpdateUserGroupSignal |
userGroupId |
UserService::updateUserGroup() |
UserService\UpdateUserSignal |
userId |
UserService::updateUser() |
UserService\UpdateUserTokenSignal |
userId |
UserService::updateUserToken() |
UserPreferenceService¶
Signal type | Properties | Triggered by |
---|---|---|
UserPreferenceService\UserPreferenceSetSignal |
name value |
UserPreferenceService::setUserPreference() |