drupal_add_link

5 common.inc drupal_add_link($attributes)
6 common.inc drupal_add_link($attributes)

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

3 calls to drupal_add_link()

File

includes/common.inc, line 1774
Common functions that many Drupal modules will need to reference.

Code

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

Comments

No longer exists in D7

In Drupal 7, use drupal_add_html_head_link() instead.

Login or register to post comments