1 common.inc | backdrop_get_html_head() |
Retrieves output to be displayed in the HEAD tag of the HTML page.
File
- core/
includes/ common.inc, line 418 - Common functions that many Backdrop modules will need to reference.
Code
function backdrop_get_html_head() {
$elements = backdrop_add_html_head();
// Always add the default mobile meta tags.
$elements['viewport'] = array(
'#type' => 'head_tag',
'#tag' => 'meta',
'#attributes' => array(
'name' => 'viewport',
'content' => 'width=device-width, initial-scale=1',
),
);
backdrop_alter('html_head', $elements);
return backdrop_render($elements);
}