drupal_add_link

Versions
4.6 – 6
drupal_add_link($attributes)

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

Related topics

▾ 3 functions call 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.

Code

includes/common.inc, line 1524

<?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.