Elgg  Version 3.0
header_logo.php
Go to the documentation of this file.
1 <?php
7 
8 echo elgg_format_element('h1', ['class' => 'elgg-heading-site'], elgg_view('output/url', [
9  'text' => $site->getDisplayName(),
10  'href' => $site->getURL(),
11  'is_trusted' => true,
12 ]));
$site
Elgg header logo.
Definition: header_logo.php:6
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:168
elgg echo
Translates a string.
Definition: languages.js:43
elgg_get_site_entity()
Get the current site entity.
Definition: entities.php:130
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246