10 if (
$config->hasInitialValue(
'debug')) {
17 '' =>
elgg_echo(
'installation:debug:none'),
18 \Psr\Log\LogLevel::ERROR =>
elgg_echo(
'installation:debug:error'),
19 \Psr\Log\LogLevel::WARNING =>
elgg_echo(
'installation:debug:warning'),
20 \Psr\Log\LogLevel::NOTICE =>
elgg_echo(
'installation:debug:notice'),
21 \Psr\Log\LogLevel::INFO =>
elgg_echo(
'installation:debug:info'),
24 '#label' =>
elgg_echo(
'installation:debug:label'),
27 'disabled' =>
$config->hasInitialValue(
'debug'),
elgg_view_module(string $type, string $title, string $body, array $vars=[])
Wrapper function for the module display pattern.
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(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
$config
Advanced site settings, debugging section.