Elgg  Version master
header.php
Go to the documentation of this file.
1 <?php
2 
3 echo elgg_format_element('h1', ['class' => 'elgg-heading-walled-garden'], 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