Go to the source code of this file.
Initial value: '#type' => 'select',
'#label' =>
elgg_echo(
'config:content:comments_max_depth'),
'#help' =>
elgg_echo(
'config:content:comments_max_depth:help'),
'name' => 'comments_max_depth',
'options_values' => [
0 =>
elgg_echo(
'config:content:comments_max_depth:none'),
2 => 2,
3 => 3,
4 => 4,
],
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition at line 3 of file comments.php.