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 $contentInfoLocationCreateStruct $locationCreateStructLocation|null $location |
CreateLocationEvent |
LocationService::createLocation |
Location $locationContentInfo $contentInfoLocationCreateStruct $locationCreateStruct |
BeforeUpdateLocationEvent |
LocationService::updateLocation |
Location $locationLocationUpdateStruct $locationUpdateStructLocation|null $updatedLocation |
UpdateLocationEvent |
LocationService::updateLocation |
Location $updatedLocationLocation $locationLocationUpdateStruct $locationUpdateStruct |
BeforeDeleteLocationEvent |
LocationService::deleteLocation |
Location $location |
DeleteLocationEvent |
LocationService::deleteLocation |
Location $location |
Hiding and revealing¶
| Event | Dispatched by | Properties |
|---|---|---|
BeforeHideLocationEvent |
LocationService::hideLocation |
Location $locationLocation|null $hiddenLocation |
HideLocationEvent |
LocationService::hideLocation |
Location $hiddenLocationLocation $location |
BeforeUnhideLocationEvent |
LocationService::unhideLocation |
Location $locationLocation|null $revealedLocation |
UnhideLocationEvent |
LocationService::unhideLocation |
Location $revealedLocationLocation $location |
Subtree and Location management¶
| Event | Dispatched by | Properties |
|---|---|---|
BeforeCopySubtreeEvent |
LocationService::copySubtree |
Location $subtreeLocation $targetParentLocationLocation|null $location |
CopySubtreeEvent |
LocationService::copySubtree |
Location $locationLocation $subtreeLocation $targetParentLocation |
BeforeMoveSubtreeEvent |
LocationService::moveSubtree |
Location $locationLocation $newParentLocation |
MoveSubtreeEvent |
LocationService::moveSubtree |
Location $locationLocation $newParentLocation |
BeforeSwapLocationEvent |
LocationService::swapLocation |
Location $location1Location $location2 |
SwapLocationEvent |
LocationService::swapLocation |
Location $location1Location $location2 |