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