Navigation
eZ Documentation Center
 

This is outdated documentation made for eZ Publish Platform 5.1. It is being moved into the eZ Publish 5.x documentation, so please go there for most up-to-date documentation.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

This page references all available signals, triggered by Public API, you can listen to.

Info

For more information, check SignalSlot documentation and the cookbook recipe on how to listen to signals.

Signals are ordered by Repository service:

Table of Contents

Info

All signals are relative to eZ\Publish\Core\SignalSlot\Signal namespace.

 

ContentService

Signal typePropertiesTriggered byWhen
ContentService\AddRelationSignal
  • srcContentId (source contentId, aka referrer)
  • srcVersionNo
  • dstContentId (destination contentId, aka target)

ContentService::addRelation()

After
ContentService\AddTranslationInfoSignalN/AContentService::addTranslationInfo()After
ContentService\CopyContentSignal
  • srcContentId (original content ID)
  • srcVersionNo
  • dstContentId (contentId of the copy)
  • dstVersionNo
  • dstParentLocationId (locationId where the content has been copied)
ContentService::copyContent()After
ContentService\CreateContentDraftSignal
  • contentId
  • versionNo
  • userId (Id of user used to create the draft, or null - current user)
ContentService::createContentDraft()After
ContentService\CreateContentSignal
  • contentId
  • versionNo
ContentService::createContent()After
ContentService\DeleteContentSignal
  • contentId
ContentService::deleteContent()After
ContentService\DeleteRelationSignal
  • srcContentId
  • srcVersionNo
  • dstContentId
ContentService::deleteRelation()After
ContentService\DeleteVersionSignal
  • contentId
  • versionNo
ContentService::deleteVersion()After
ContentService\PublishVersionSignal
  • contentId
  • versionNo
ContentService:: publishVersion()After
ContentService\TranslateVersionSignal
  • contentId
  • versionNo
  • userId
ContentService::translationVersion()After
ContentService\UpdateContentMetadataSignal
  • contentId
ContentService::updateContentMetadata()After
ContentService\UpdateContentSignal
  • contentId
  • versionNo
ContentService::updateContent()After

ContentTypeService

Signal typePropertiesTriggered byWhen
ContentTypeService\AddFieldDefinitionSignal
  • contentTypeDraftId

ContentTypeService::addFieldDefinition()

After
ContentTypeService\AssignContentTypeGroupSignal
  • contentTypeId
  • contentTypeGroupId
ContentTypeService::assignContentTypeGroup()After
ContentTypeService\CopyContentTypeSignal
  • contentTypeId
  • userId
ContentTypeService::copyContentType()After
ContentTypeService\CreateContentTypeDraftSignal
  • contentTypeId
ContentTypeService::createContentTypeDraft()After
ContentTypeService\CreateContentTypeGroupSignal
  • groupId
ContentTypeService::createContentTypeGroup()After
ContentTypeService\CreateContentTypeSignal
  • contentTypeId
ContentTypeService::createContentType()After
ContentTypeService\DeleteContentTypeGroupSignal
  • contentTypeGroupId
ContentTypeService::deleteContentTypeGroup()After
ContentTypeService\DeleteContentTypeSignal
  • contentTypeId
ContentTypeService::deleteContentType()After
ContentTypeService\PublishContentTypeDraftSignal
  • contentTypeDraftId
ContentTypeService::publishContentTypeDraft()After
ContentTypeService\RemoveFieldDefinitionSignal
  • contentTypeDraftId
  • fieldDefinitionId
ContentTypeService::removeFieldDefinition()After
ContentTypeService\UnassignContentTypeGroupSignal
  • contentTypeId
  • contentTypeGroupId
ContentTypeService::unassignContentTypeGroup()After
ContentTypeService\UpdateContentTypeDraftSignal
  • contentTypeDraftId
ContentTypeService::updateContentTypeDraft()After
ContentTypeService\UpdateContentTypeGroupSignal
  • contentTypeGroupId
ContentTypeService::updateContentTypeGroup()After
ContentTypeService\UpdateFieldDefinitionSignal
  • contentTypeDraftId
  • fieldDefinitionId
ContentTypeService::updateFieldDefinition()After

LanguageService

Signal typePropertiesTriggered byWhen
LanguageService\CreateLanguageSignal
  • languageId
LanguageService::createLanguage()After
LanguageService\DeleteLanguageSignal
  • languageId
LanguageService::deleteLanguage()After
LanguageService\DisableLanguageSignal
  • languageId
LanguageService::disableLanguage()After
LanguageService\EnableLanguageSignal
  • languageId
LanguageService::enableLanguage()After
LanguageService\UpdateLanguageNameSignal
  • languageId
  • newName
LanguageService::updateLanguageName()

After

LocationService

Signal typePropertiesTriggered byWhen
LocationService\CopySubtreeSignal
  • subtreeId (top locationId of the subtree to be copied)
  • targetParentLocationId

LocationService::copySubtree()

After
LocationService\CreateLocationSignal
  • contentId
  • locationId
LocationService::createLocation()After
LocationService\DeleteLocationSignal
  • contentId
  • locationId
LocationService::deleteLocation()After
LocationService\HideLocationSignal
  • contentId
  • locationId
LocationService::hideLocation()After
LocationService\UnhideLocationSignal
  • contentId
  • locationId
LocationService::unhideLocation()After
LocationService\MoveSubtreeSignal
  • subtreeId
  • newParentLocationId
LocationService::moveSubtree()After
LocationService\SwapLocationSignal
  • content1Id
  • location1Id
  • content2Id
  • location2Id
LocationService::swapLocation()After
LocationService\UpdateLocationSignal
  • contentId
  • locationId
LocationService::updateLocation()After

ObjectStateService

Signal typePropertiesTriggered byWhen
ObjectStateService\CreateObjectStateGroupSignal
  • objectStateGroupId
ObjectStateService::createObjectStateGroup()After
ObjectStateService\CreateObjectStateSignal
  • objectStateGroupId
  • objectStateId
ObjectStateService::createObjectState()After
ObjectStateService\DeleteObjectStateGroupSignal
  • objectStateGroupId
ObjectStateService::deleteObjectStateGroup()After
ObjectStateService\DeleteObjectStateSignal
  • objectStateId
ObjectStateService::deleteObjectState()After
ObjectStateService\SetContentStateSignal
  • contentId
  • objectStateGroupId
  • objectStateId
ObjectStateService::setContentState()After
ObjectStateService\SetPriorityOfObjectStateSignal
  • objectStateId
  • priority
ObjectStateService::setPriorityOfObjectState()After
ObjectStateService\UpdateObjectStateGroupSignal
  • objectStateGroupId
ObjectStateService::updateObjectStateGroup()After
ObjectStateService\UpdateObjectStateSignal
  • objectStateId
ObjectStateService::updateObjectState()After

RoleService

Signal typePropertiesTriggered byWhen
RoleService\AddPolicySignal
  • roleId
  • policyId
RoleService::addPolicy()After
RoleService\AssignRoleToUserGroupSignal
  • roleId
  • userGroupId
  • roleLimitation
RoleService::assignRoleToUserGroup()After
RoleService\AssignRoleToUserSignal
  • roleId
  • userId
  • roleLimitation
RoleService::assignRoleToUser()After
RoleService\CreateRoleSignal
  • roleId
RoleService::createRole()After
RoleService\DeleteRoleSignal
  • roleId
RoleService::deleteRole()After
RoleService\RemovePolicySignal
  • roleId
  • policyId
RoleService::removePolicy()After
RoleService\UnassignRoleFromUserGroupSignal
  • roleId
  • userGroupId
RoleService::unassignRoleFromUserGroup()After
RoleService\UnassignRoleFromUserSignal
  • roleId
  • userId
RoleService::unassignRoleFromUser()After
RoleService\UpdatePolicySignal
  • policyId
RoleService::updatePolicy()After
RoleService\UpdateRoleSignal
  • roleId
RoleService::updateRole()After

SectionService

Signal typePropertiesTriggered byWhen
SectionService\AssignSectionSignal
  • contentId
  • sectionId
SectionService::assignSection()After
SectionService\CreateSectionSignal
  • sectionId
SectionService::createSection()After
SectionService\DeleteSectionSignal
  • sectionId
SectionService::deleteSection()After
SectionService\UpdateSectionSignal
  • sectionId
SectionService::updateSection()After

TrashService

Signal typePropertiesTriggered byWhen
TrashService\DeleteTrashItemSignal
  • trashItemId
TrashService::deleteTrashItem()After
TrashService\EmptyTrashSignalN/ATrashService::emptyTrash()After
TrashService\RecoverSignal
  • trashItemId
  • newParentLocationId
  • newLocationId
TrashService::recover()After
TrashService\TrashSignal
  • locationId
TrashService::trash()After

URLAliasService

Signal typePropertiesTriggered byWhen
URLAliasService\CreateGlobalUrlAliasSignal
  • urlAliasId
URLAliasService::createGlobalUrlAlias()After
URLAliasService\CreateUrlAliasSignal
  • urlAliasId
URLAliasService::createUrlAlias()After
URLAliasService\RemoveAliasesSignal
  • aliasList
URLAliasService::removeAliases()After

URLWildcardService

Signal typePropertiesTriggered byWhen
URLWildcardService\CreateSignal
  • urlWildcardId
URLWildcardService::create()After
URLWildcardService\RemoveSignal
  • urlWildcardId
URLWildcardService::remove()After
URLWildcardService\TranslateSignal
  • url
URLWildcardService::translate()After

UserService

Signal typePropertiesTriggered byWhen
UserService\AssignUserToUserGroupSignal
  • userId
  • userGroupId
UserService::assignUserToUserGroup()After
UserService\CreateUserGroupSignal
  • userGroupId
UserService::createUserGroup()After
UserService\CreateUserSignal
  • userId
UserService::createUser()After
UserService\DeleteUserGroupSignal
  • userGroupId
UserService::deleteUserGroup()After
UserService\DeleteUserSignal
  • userId
UserService::deleteUser()After
UserService\MoveUserGroupSignal
  • userGroupId
  • newParentId
UserService::moveUserGroup()After
UserService\UnAssignUserFromUserGroupSignal
  • userId
  • userGroupId
UserService::unAssignUserFromUserGroup()After
UserService\UpdateUserGroupSignal
  • userGroupId
UserService::updateUserGroup()After
UserService\UpdateUserSignal
  • userId
UserService::updateUser()After