Same name and namespace in other branches
  1. 7.x modules/book/book.module \theme_book_title_link()

Generate the HTML output for a link to a book title when used as a block title.

Related topics

File

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']);
}