Elgg
Version master
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:351
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 Sat Dec 21 2024 00:02:54 for Elgg by
1.8.11