interface FrontendBackgroundUpdateInterface

Interface FrontendBackgroundUpdateInterface

This interface is used by hooks that using the frontend background updater to update components on client side.

Methods

array
response(array $data = [])

This method returns an array that contains information which will be processed on client side as json object. The optional first parameter can contain client side created data which can be used to process the request.

Details

at line 24
array response(array $data = [])

This method returns an array that contains information which will be processed on client side as json object. The optional first parameter can contain client side created data which can be used to process the request.

Parameters

array $data

Return Value

array