function drupal_add_link in Drupal 6
Same name and namespace in other branches
- 4 includes/common.inc \drupal_add_link()
- 5 includes/common.inc \drupal_add_link()
Add a <link> tag to the page's HEAD.
3 calls to drupal_add_link()
- blogapi_init in modules/
blogapi/ blogapi.module - drupal_add_feed in includes/
common.inc - Add a feed URL for the current page.
- template_preprocess_book_navigation in modules/
book/ book.module - Process variables for book-navigation.tpl.php.
File
- includes/
common.inc, line 1812 - Common functions that many Drupal modules will need to reference.
Code
function drupal_add_link($attributes) {
drupal_set_html_head('<link' . drupal_attributes($attributes) . ' />');
}