Elgg  Version 6.1
Variables
theme.php File Reference

Go to the source code of this file.

Variables

 $vars = (array) get_input('vars', [], false)
 
 $available_config = _elgg_services()->cssCompiler->getCssVars([], false)
 
foreach($vars as $name=> $value) if(empty($vars)) else
 

Variable Documentation

$available_config = _elgg_services()->cssCompiler->getCssVars([], false)

Definition at line 8 of file theme.php.

$vars = (array) get_input('vars', [], false)
Examples:
/root/Elgg/engine/lib/output.php, and /root/Elgg/engine/lib/views.php.

Definition at line 5 of file theme.php.

foreach ($vars as $name=> $value) if (empty($vars)) else
Initial value:
{
elgg_save_config('custom_theme_vars', $vars)
elgg_save_config(string $name, $value)
Save a configuration setting.
$vars
Definition: theme.php:5

Definition at line 28 of file theme.php.