You are here

function drupal_add_link in Drupal 4

Same name and namespace in other branches
  1. 5 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

7 calls to drupal_add_link()
blogapi_menu in modules/blogapi.module
blog_page_last in modules/blog.module
Displays a Drupal page containing recent blog entries of all users.
blog_page_user in modules/blog.module
Displays a Drupal page containing recent blog entries of a given user.
node_page_default in modules/node.module
Generate a listing of promoted nodes.
taxonomy_term_page in modules/taxonomy.module
Menu callback; displays all nodes associated with a term.

... See full list

File

includes/common.inc, line 1237
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");
}