Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
elements
importmap.json.php
Go to the documentation of this file.
1
<?php
2
3
$importmap
=
_elgg_services
()->esm->getImportMapData();
4
5
echo
elgg_format_element
(
'script'
, [
'type'
=>
'importmap'
], json_encode(
$importmap
));
_elgg_services
_elgg_services()
Get the global service provider.
Definition:
elgglib.php:353
elgg_format_element
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition:
output.php:145
$importmap
$importmap
Definition:
importmap.json.php:3
Generated on Wed Dec 4 2024 00:00:23 for Elgg by
1.8.11