5 '#label' =>
elgg_echo(
'config:content:comments_max_depth'),
6 '#help' =>
elgg_echo(
'config:content:comments_max_depth:help'),
7 'name' =>
'comments_max_depth',
10 0 =>
elgg_echo(
'config:content:comments_max_depth:none'),
18 '#type' =>
'checkbox',
19 '#label' =>
elgg_echo(
'config:content:comment_box_collapses'),
20 '#help' =>
elgg_echo(
'config:content:comment_box_collapses:help'),
21 'name' =>
'comment_box_collapses',
28 '#type' =>
'checkbox',
29 '#label' =>
elgg_echo(
'config:content:comments_latest_first'),
30 '#help' =>
elgg_echo(
'config:content:comments_latest_first:help'),
31 'name' =>
'comments_latest_first',
39 '#label' =>
elgg_echo(
'config:content:comments_per_page'),
40 'name' =>
'comments_per_page',
47 '#type' =>
'checkbox',
48 '#label' =>
elgg_echo(
'config:content:comments_group_only'),
49 'name' =>
'comments_group_only',
elgg_view_module(string $type, string $title, string $body, array $vars=[])
Wrapper function for the module display pattern.
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.