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