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.
Location events¶
Event | Dispatched by | Properties |
---|---|---|
BeforeCreateLocationEvent |
LocationService::createLocation |
ContentInfo $contentInfo LocationCreateStruct $locationCreateStruct Location|null $location |
CreateLocationEvent |
LocationService::createLocation |
Location $location ContentInfo $contentInfo LocationCreateStruct $locationCreateStruct |
BeforeUpdateLocationEvent |
LocationService::updateLocation |
Location $location LocationUpdateStruct $locationUpdateStruct Location|null $updatedLocation |
UpdateLocationEvent |
LocationService::updateLocation |
Location $updatedLocation Location $location LocationUpdateStruct $locationUpdateStruct |
BeforeDeleteLocationEvent |
LocationService::deleteLocation |
Location $location |
DeleteLocationEvent |
LocationService::deleteLocation |
Location $location |
Hiding and revealing¶
Event | Dispatched by | Properties |
---|---|---|
BeforeHideLocationEvent |
LocationService::hideLocation |
Location $location Location|null $hiddenLocation |
HideLocationEvent |
LocationService::hideLocation |
Location $hiddenLocation Location $location |
BeforeUnhideLocationEvent |
LocationService::unhideLocation |
Location $location Location|null $revealedLocation |
UnhideLocationEvent |
LocationService::unhideLocation |
Location $revealedLocation Location $location |
Subtree and Location management¶
Event | Dispatched by | Properties |
---|---|---|
BeforeCopySubtreeEvent |
LocationService::copySubtree |
Location $subtree Location $targetParentLocation Location|null $location |
CopySubtreeEvent |
LocationService::copySubtree |
Location $location Location $subtree Location $targetParentLocation |
BeforeMoveSubtreeEvent |
LocationService::moveSubtree |
Location $location Location $newParentLocation |
MoveSubtreeEvent |
LocationService::moveSubtree |
Location $location Location $newParentLocation |
BeforeSwapLocationEvent |
LocationService::swapLocation |
Location $location1 Location $location2 |
SwapLocationEvent |
LocationService::swapLocation |
Location $location1 Location $location2 |