Elgg  Version master
Public Member Functions | List of all members
Elgg\Javascript\SetLightboxConfigHandler Class Reference

Adds lightbox config to js elgg.data object. More...

Public Member Functions

 __invoke (\Elgg\Hook $hook)
 Set lightbox config. More...
 

Detailed Description

Adds lightbox config to js elgg.data object.

Since
4.0

Definition at line 10 of file SetLightboxConfigHandler.php.

Member Function Documentation

Elgg\Javascript\SetLightboxConfigHandler::__invoke ( \Elgg\Hook  $hook)

Set lightbox config.

Parameters
\Elgg\Hook$hook'elgg.data', 'site'
Returns
array

Definition at line 19 of file SetLightboxConfigHandler.php.


The documentation for this class was generated from the following file: