12 if (
$type !=
'user') {
27 'name' =>
'plugin_id',
33 'name' =>
'user_guid',
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
if(empty($plugin_id)) $plugin
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
elgg_set_form_footer(string $footer= '')
Sets form footer and defers its rendering until the form view and extensions have been rendered...
elgg_view_exists(string $view, string $viewtype= '', bool $recurse=true)
Returns whether the specified view exists.
elgg_get_logged_in_user_guid()
Return the current logged in user by guid.