Elgg  Version 6.1
Variables
comments.php File Reference

Go to the source code of this file.

Variables

 $body
 

Variable Documentation

$body
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',
'value' => elgg_get_config('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.
Definition: views.php:1112
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: languages.php:17

Definition at line 3 of file comments.php.