20 $head_params = $event->getValue();
22 $head_params[
'metas'][
'content-type'] = [
23 'http-equiv' =>
'Content-Type',
24 'content' =>
'text/html; charset=utf-8',
29 $head_params[
'metas'][
'description'] = [
30 'name' =>
'description',
36 $head_params[
'metas'][
'viewport'] = [
38 'content' =>
'width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=1',
41 $head_params[
'metas'][
'mobile-web-app-capable'] = [
42 'name' =>
'mobile-web-app-capable',
46 $head_params[
'metas'][
'apple-mobile-web-app-capable'] = [
47 'name' =>
'apple-mobile-web-app-capable',
elgg_get_site_entity()
Get the current site entity.
__invoke(\Elgg\Event $event)
Add metas to HTML head.
Models an event passed to event handlers.