theme_book_title_link

  1. drupal
    1. 6
    2. 8
    3. 7
Versions
6 theme_book_title_link($link)
7 – 8 theme_book_title_link($variables)

Returns HTML for a link to a book title when used as a block title.

Parameters

$variables An associative array containing:

  • link: An array containing title, href and options for the link.

Related topics

Code

modules/book/book.module, line 337

<?php
function theme_book_title_link($variables) {
  $link = $variables['link'];

  $link['options']['attributes']['class'] = array('book-title');

  return l($link['title'], $link['href'], $link['options']);
}
?>