Elgg  Version master
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)
Resolves and pushes entity breadcrumbs based on named routes.
Definition: breadcrumbs.php:33
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
elgg_view_page(string $title, string|array $body, string $page_shell= 'default', array $vars=[])
Assembles and outputs a full page.
Definition: views.php:235
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