Elgg  Version 4.3
AddAmdModuleNameHandler.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Views;
4 
11 
19  public function __invoke(\Elgg\Hook $hook) {
20  $filter = new \Elgg\Amd\ViewFilter();
21  return $filter->filter($hook->getParam('view'), $hook->getValue());
22  }
23 }
__invoke(\Elgg\Hook $hook)
Inserts module names into anonymous modules by handling the &#39;simplecache:generate&#39; and &#39;cache:generat...
Models an event passed to hook handlers.
Definition: Hook.php:11
$filter
Layout body.
Definition: body.php:18