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