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.
Page events¶
Event | Dispatched by | Properties |
---|---|---|
AttributeSerializationEvent |
AttributeSerializationDispatcher::serialize |
LandingPage\Model\BlockValue $blockValue string $attributeIdentifier mixed|null $serializedValue mixed $deserializedValue |
BlockContextEvent |
BlockService::createBlockContextFromRequest |
Request $request BlockContextInterface|null $blockContext |
BlockFragmentRenderEvent |
BlockRenderOptionsFragmentRenderer::dispatchFragmentRenderEvent |
Content $content Location|null $location LandingPage\Model\Page $page LandingPage\Model\BlockValue $blockValue ControllerReference $uri Request $request array $options |
BlockResponseEvent |
BlockResponseSubscriber::getSubscribedEvents |
BlockContextInterface $blockContext LandingPage\Model\BlockValue $blockValue Request $request Response $response |
CollectBlockRelationsEvent |
CollectRelationsSubscriber::onCollectBlockRelations |
LandingPage\Value $fieldValue LandingPage\Model\BlockValue $blockValue int[] $relations |
PageRenderEvent |
PageService::dispatchRenderPageEvent |
Content $content Location|null $location LandingPage\Model\Page $page Request $request |
Page Builder¶
The following events are dispatched when editing a Page in the Page Builder.
Event | Dispatched by | Properties |
---|---|---|
BlockConfigurationViewEvent |
BlockController::dispatchBlockConfigurationViewEvent |
BlockConfigurationView $blockConfigurationView BlockDefinition $blockDefinition BlockConfiguration $blockConfiguration FormInterface $blockConfigurationForm |
BlockPreviewPageContextEvent |
PreviewController::dispatchPageContextEvent |
BlockContextInterface $blockContext LandingPage\Model\Page $page array $pagePreviewParameters |
BlockPreviewResponseEvent |
PreviewController::dispatchBlockPreviewResponseEvent |
BlockContextInterface $blockContext array $pagePreviewParameters LandingPage\Model\Page $page BlockValue $blockValue array $responseData |
Page blocks¶
The following events are dispatched when editing a Page block.
Event | Dispatched by | Properties |
---|---|---|
BlockDefinitionEvent |
BlockDefinitionFactory::getBlockDefinition |
BlockDefinition $definition array $configuration |
BlockAttributeDefinitionEvent |
BlockDefinitionFactory::getBlockDefinition |
BlockAttributeDefinition $definition array $configuration |
PreRenderEvent |
BlockService::render |
BlockContextInterface $blockContext BlockValue $blockValue RenderRequestInterface $renderRequest |
PostRenderEvent |
BlockService::render |
BlockContextInterface $blockContext BlockValue $blockValue string $renderedBlock |