drupal_set_breadcrumb

  1. drupal
    1. drupal6
    2. drupal7
Versionen
drupal6 – drupal7 drupal_set_breadcrumb($breadcrumb = NULL)

Set the breadcrumb trail for the current page.

Übergabeparameter

$breadcrumb Array of links, starting with "home" and proceeding up to but not including the current page.

▾ 7 functions call drupal_set_breadcrumb()

blog_view in modules/blog/blog.module
Implementation of hook_view().
comment_reply in modules/comment/comment.pages.inc
This function is responsible for generating a comment reply form. There are several cases that have to be handled, including:
drupal_get_breadcrumb in includes/common.inc
Get the breadcrumb trail for the current page.
forum_nodeapi in modules/forum/forum.module
Implementation of hook_nodeapi().
hook_view in developer-docs/hooks/node.php
Display a node.
taxonomy_term_page in modules/taxonomy/taxonomy.pages.inc
Menu callback; displays all nodes associated with a term.
template_preprocess_forums in modules/forum/forum.module
Process variables for forums.tpl.php

Code

includes/common.inc, line 84

<?php
function drupal_set_breadcrumb($breadcrumb = NULL) {
  static $stored_breadcrumb;

  if (!is_null($breadcrumb)) {
    $stored_breadcrumb = $breadcrumb;
  }
  return $stored_breadcrumb;
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen