You are here

function drupal_add_link in Drupal 5

Same name and namespace in other branches
  1. 4 includes/common.inc \drupal_add_link()
  2. 6 includes/common.inc \drupal_add_link()

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

Related topics

3 calls to drupal_add_link()
blogapi_menu in modules/blogapi/blogapi.module
drupal_add_feed in includes/common.inc
Add a feed URL for the current page.
theme_book_navigation in modules/book/book.module
Prepares the links to children (TOC) and forward/backward navigation for a node presented as a book page.

File

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

Code

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