function theme_book_title_link

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 book.module theme_book_title_link($variables)
cle7 book.module theme_book_title_link($variables)
elmsmedia7 book.module theme_book_title_link($variables)
icor7 book.module theme_book_title_link($variables)
meedjum_blog7 book.module theme_book_title_link($variables)
mooc7 book.module 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

1 theme call to theme_book_title_link()
book_block_view in modules/book/book.module
Implements hook_block_view().
2 string references to the theme hook from theme_book_title_link()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

book_block_view in modules/book/book.module
Implements hook_block_view().
book_theme in modules/book/book.module
Implements hook_theme().

File

modules/book/book.module, line 363
Allows users to create and organize related content in an outline.

Code

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

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

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