Definition

drupal_add_link($attributes)
drupal/includes/common.inc, line 1950

Description

Add a <link> tag to the page's HEAD.

This function can be called as long the HTML header hasn't been sent.

Related topics

Namesort iconDescription
Input validationFunctions to validate user input.

Code

function drupal_add_link($attributes) {
  drupal_set_html_head('<link' . drupal_attributes($attributes) . " />\n");
}