Elgg  Version 5.1
edit.php
Go to the documentation of this file.
1 <?php
7 
9 
10 echo elgg_view_page(elgg_echo('avatar:edit'), [
11  'content' => elgg_view('core/avatar/upload', ['entity' => $user]),
12  'show_owner_block_menu' => false,
13  'filter_id' => 'profile/edit',
14 ]);
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_push_entity_breadcrumbs(\ElggEntity $entity, bool $link_self=null)
Resolves and pushes entity breadcrumbs based on named routes.
Definition: breadcrumbs.php:34
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:177
elgg_view_page(string $title, string|array $body, string $page_shell= 'default', array $vars=[])
Assembles and outputs a full page.
Definition: views.php:256
elgg_get_page_owner_entity()
Gets the owner entity for the current page.
Definition: pageowner.php:23
$user
Upload and crop an avatar page.
Definition: edit.php:6