Elgg  Version 6.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 }
__invoke(\Elgg\Event $event)
Preprocesses CSS views sent by /cache URLs.
if($who_can_change_language=== 'nobody') elseif($who_can_change_language=== 'admin_only'&&!elgg_is_admin_logged_in()) $options
Definition: language.php:20
_elgg_services()
Get the global service provider.
Definition: elgglib.php:353
Models an event passed to event handlers.
Definition: Event.php:11