function html5_tools_set_html_head in HTML5 Tools 6
Wrapper function for drupal_set_html_head(). Modules should use this function to add HTML tags to the <head>. For example, meta tags and link tags. Note: Generally for css & js you should use drupal_add_css and drupal_add_js.
Parameters
$data: A structured array as expected by drupal_render().
Return value
The rendered HTML for the header variable.
1 call to html5_tools_set_html_head()
- html5_tools_get_html_head in ./
html5_tools.module - Wrapper function for drupal_get_html_head().
File
- ./
html5_tools.module, line 41
Code
function html5_tools_set_html_head($data = NULL) {
$element = !is_null($data) ? theme('html5_tag', $data) : NULL;
$stored_head = drupal_set_html_head($element);
return $stored_head;
}