35 '#type' =>
'checkbox',
36 '#label' =>
elgg_echo(
'entity:edit:icon:remove:label'),
37 '#class' =>
'elgg-entity-edit-icon-remove',
if(elgg_extract('show_remove', $vars, true)===false) $entity
Show a remove icon toggle.
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
if(!$entity instanceof ElggEntity) $icon_type
if(!$entity->hasIcon('master', $icon_type)) $name
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg echo
Translates a string.