10 if (
$config->hasInitialValue(
'debug')) {
17 '' =>
elgg_echo(
'installation:debug:none'),
18 'ERROR' =>
elgg_echo(
'installation:debug:error'),
19 'WARNING' =>
elgg_echo(
'installation:debug:warning'),
20 'NOTICE' =>
elgg_echo(
'installation:debug:notice'),
21 'INFO' =>
elgg_echo(
'installation:debug:info'),
24 '#label' =>
elgg_echo(
'installation:debug:label'),
27 'disabled' =>
$config->hasInitialValue(
'debug'),
if($config->hasInitialValue('debug')) $body
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
$config
Advanced site settings, debugging section.
elgg_view_module($type, $title, $body, array $vars=[])
Wrapper function for the module display pattern.
elgg echo
Translates a string.