50 'formatter' =>
'single-line',
51 'versioning' =>
false,
52 'rewrite_import_urls' =>
false,
53 'boilerplate' =>
false,
56 $config = (array) $this->config->css_compiler_options;
62 $vars = array_merge($default_vars, $custom_vars);
67 return Crush::$process->compile()->__toString();
88 $plugin_vars = $plugin->getStaticConfig(
'theme', []);
89 if (empty($plugin_vars)) {
93 $return = array_merge($return, $plugin_vars);
static includeFile($file)
Include a file with as little context as possible.
elgg_get_plugins(string $status= 'active')
Returns an ordered list of plugins.
static elgg()
Get the Elgg codebase path with "/".
getCoreVars()
Default Elgg theme variables.
__construct(Config $config, PluginHooksService $hooks)
Constructor.
getPluginVars()
Plugin theme variables.
compile($css, array $options=[])
Compile CSS.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Compile CSS with CSSCrush.