function theme_book_title_link
7.x book.module | theme_book_title_link( |
6.x book.module | theme_book_title_link($link) |
Generate the HTML output for a link to a book title when used as a block title.
Related topics
1 theme call to theme_book_title_link()
- book_block in drupal-6.x/
modules/ book/ book.module - Implementation of hook_block().
File
- drupal-6.x/
modules/ book/ book.module, line 244 - Allows users to structure the pages of a site in a hierarchy or outline.
Code
function theme_book_title_link($link) {
$link['options']['attributes']['class'] = 'book-title';
return l($link['title'], $link['href'], $link['options']);
}