Elgg
Version 4.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Page
AddManifestLinkHandler.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Page
;
4
10
class
AddManifestLinkHandler
{
11
19
public
function
__invoke
(\
Elgg
\
Hook
$hook) {
20
$result
= $hook->getValue();
21
$result
[
'links'
][
'manifest'
] = [
22
'rel'
=>
'manifest'
,
23
'href'
=>
elgg_get_simplecache_url
(
'resources/manifest.json'
),
24
];
25
26
return
$result
;
27
}
28
}
$result
$result
Definition:
set_maintenance_mode.php:11
Elgg\Page\AddManifestLinkHandler\__invoke
__invoke(\Elgg\Hook $hook)
Adds the manifest.json to head links.
Definition:
AddManifestLinkHandler.php:19
Elgg\Page\AddManifestLinkHandler
Add manifest link to page head.
Definition:
AddManifestLinkHandler.php:10
elgg_get_simplecache_url
elgg_get_simplecache_url($view, $subview= '')
Get the URL for the cached view.
Definition:
cache.php:139
Elgg\Hook
Models an event passed to hook handlers.
Definition:
Hook.php:11
Elgg
Definition:
ActionsService.php:3
Elgg\Page
Definition:
AddFaviconLinksHandler.php:3
Generated on Fri Feb 3 2023 00:00:22 for Elgg by
1.8.11