Skip to main content
Version: 5.2 (Current)

List of Plugin Events

The list of events below includes the event name and a short description of its use, together with a link to the detailed description.

As described in Joomla 4 and 5 changes, Joomla events have changed from being strings with associated parameters to "concrete" event classes specific to each event, sometimes via a "generic" event class. Some concrete event classes were introduced in Joomla 4 and others in Joomla 5. If you want your plugin to support both concrete and generic event classes then you need to code it as described in Joomla 4 and 5 changes.

The event Group refers to the group of plugins which Joomla ensures are imported prior to dispatching that event.

Event NameShort DescriptionGroupFrom Release
onContentPrepareModifying content displayed in a ViewContentbefore 4.0
onContentAfterTitleInjecting HTML after the titleContentbefore 4.0
onContentBeforeDisplayInjecting HTML before the main page contentContentbefore 4.0
onContentAfterDisplayInjecting HTML after the main page contentContentbefore 4.0
onContentPrepareDataModifying pre-fill data for a formContentbefore 4.0
onContentPrepareFormModifying a formContentbefore 4.0
onContentNormaliseRequestDataBefore POST data validation, triggered by ControllerContent4.0
onContentBeforeValidateDataBefore POST data validation, triggered by ModelContent4.0
onContentBeforeSaveIn Model, before new/updated data is savedContentbefore 4.0
onContentAfterSaveIn Model, after new/updated data is savedContentbefore 4.0
onContentBeforeDeleteIn Model, before a record is deletedContentbefore 4.0
onContentAfterDeleteIn Model, after a record is deletedContentbefore 4.0
onContentBeforeChangeStateIn Model, before a set of records changes stateContent4.0
onContentChangeStateIn Model, after a set of records changes stateContentbefore 4.0
onCategoryChangeStateIn Model, before a set of category records changes stateContentbefore 4.0