drupal_add_link

Versions
4.6 – 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 1237

<?php
function drupal_add_link($attributes) {
  drupal_set_html_head('<link'. drupal_attributes($attributes) ." />\n");
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.