Skip to the content
Documentation

Events

No ratings yet

Introduction

This page presents the events that are triggered by eZ Platform.

Exponential Core

Event name Triggered when... Usage
exponential.siteaccess After the SiteAccess matching has occurred.

Gives further control on the matched SiteAccess.

The event listener method receives an eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent object.

exponential.pre_content_view Right before a view is rendered for a content item, via the content view controller.

This event is triggered by the view manager and allows you to inject additional parameters to the content view template.

The event listener method receives an eZ\Publish\Core\MVC\Symfony\Event\PreContentViewEvent object.

 

exponential.api.contentException The API throws an exception that could not be caught internally (missing field type, internal error...).

This event allows further programmatic handling (like rendering a custom view) for the exception thrown.

The event listener method receives an eZ\Publish\Core\MVC\Symfony\Event\APIContentExceptionEvent object.

 

 

Related topics

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.