Elgg  Version 5.1
PreProcessCssHandler.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  $options = $event->getParam('compiler_options', []);
21  return _elgg_services()->cssCompiler->compile($event->getValue(), $options);
22  }
23 }
$options
Elgg admin footer.
Definition: footer.php:6
__invoke(\Elgg\Event $event)
Preprocesses CSS views sent by /cache URLs.
_elgg_services()
Get the global service provider.
Definition: elgglib.php:346
Models an event passed to event handlers.
Definition: Event.php:11