20 $head_params = $hook->getValue();
22 $head_params[
'metas'][
'content-type'] = [
23 'http-equiv' =>
'Content-Type',
24 'content' =>
'text/html; charset=utf-8',
27 $head_params[
'metas'][
'description'] = [
28 'name' =>
'description',
33 $head_params[
'metas'][
'viewport'] = [
35 'content' =>
'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0',
38 $head_params[
'metas'][
'mobile-web-app-capable'] = [
39 'name' =>
'mobile-web-app-capable',
43 $head_params[
'metas'][
'apple-mobile-web-app-capable'] = [
44 'name' =>
'apple-mobile-web-app-capable',
Models an event passed to hook handlers.
elgg_get_site_entity()
Get the current site entity.
__invoke(\Elgg\Hook $hook)
Add metas to HTML head.