Elgg  Version 4.x
Public Member Functions | List of all members
Elgg\Views\AddAmdModuleNameHandler Class Reference

Adds module names. More...

Public Member Functions

 __invoke (\Elgg\Hook $hook)
 Inserts module names into anonymous modules by handling the 'simplecache:generate' and 'cache:generate' hook. More...
 

Detailed Description

Adds module names.

Since
4.0

Definition at line 10 of file AddAmdModuleNameHandler.php.

Member Function Documentation

Elgg\Views\AddAmdModuleNameHandler::__invoke ( \Elgg\Hook  $hook)

Inserts module names into anonymous modules by handling the 'simplecache:generate' and 'cache:generate' hook.

Parameters
\Elgg\Hook$hook'cache:generate' | 'simplecache:generate', 'js'
Returns
string|null View content minified (if css/js type)

Definition at line 19 of file AddAmdModuleNameHandler.php.


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