drupal_add_link

  1. drupal
    1. 4.7
    2. 5
    3. 6 common.inc
Versions
4.7 – 6 drupal_add_link($attributes)

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

Related topics

▾ 7 functions call 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.
theme_book_navigation in modules/book.module
Prepares the links to children (TOC) and forward/backward navigation for a node presented as a book page.
theme_forum_display in modules/forum.module
Format the forum body.

Code

includes/common.inc, line 1238

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