Everlive.Events.beforeRead
Signature
Everlive.Events.beforeRead(callback)
Description
A pre-processing method that allows you to specify custom logic to execute just before reading items from a content type.
Parameters
Parameter Name | Type | Description |
---|---|---|
callback |
function | The event callback in the following format: function(request, context, done) , where request contains information about the current request and context passes parameters to post-processing functions. |