Elgg  Version 6.1
header_logo.php
Go to the documentation of this file.
1 <?php
2 
3 echo elgg_format_element('div', ['class' => 'elgg-heading-site'], elgg_view_entity_url(elgg_get_site_entity()));
elgg_get_site_entity()
Get the current site entity.
Definition: entities.php:101
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145
elgg_view_entity_url(\ElggEntity $entity, array $options=[])
Helper function for outputting a link to an entity.
Definition: views.php:1444