Interface

eZ\Publish\SPI\FieldType\EventListener

interface EventListener

A field type interface which field types can optionally implement.

Field types that implemented this interface will be notified about certain events, both before and after something has happened. This allows the field type to perform certain actions.

Note: This is a low level synchronous events, for more generic asynchronous events like sending out notifications, please use the signal slot system instead (create and register a slot to listen to events).

Methods

handleEvent(Event $event)

This method is called on occurring events.

Details

at line 32
public handleEvent(Event $event)

This method is called on occurring events.

This method is called on occurring events in the Core to allow FieldTypes to react to such events.

Parameters

Event $event