Removed obsolete $ in source files
This commit is contained in:
parent
a39c010e06
commit
e5f2b64d98
146 changed files with 836 additions and 1081 deletions
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs.admin.inc,v 1.1.2.3.2.33 2011/01/08 03:32:24 mgn Exp $
|
||||
/**
|
||||
* @file
|
||||
* Admin page callback file for the custom_breadcrumbs module.
|
||||
|
@ -12,7 +11,7 @@ function custom_breadcrumbs_page() {
|
|||
$custom_breadcrumbs_sort = variable_get('custom_breadcrumbs_sort', array(
|
||||
'direction' => array('name' => 'asc', 'breadcrumb_type' => 'asc', 'language' => 'asc'),
|
||||
'column' => 'name'));
|
||||
$sort = $custom_breadcrumbs_sort['direction'];
|
||||
$sort = $custom_breadcrumbs_sort['direction'];
|
||||
$multilingual = _custom_breadcrumbs_multilingual();
|
||||
$breadcrumbs = array();
|
||||
// Read session variable to load breadcrumbs of type and language selected by user.
|
||||
|
@ -35,7 +34,7 @@ function custom_breadcrumbs_page() {
|
|||
}
|
||||
}
|
||||
if (empty($modules)) {
|
||||
$modules = module_implements('cb_breadcrumb_info');
|
||||
$modules = module_implements('cb_breadcrumb_info');
|
||||
}
|
||||
foreach ($modules as $key => $module) {
|
||||
$more = custom_breadcrumbs_load_breadcrumbs($module, $tables[$key], NULL, $languages);
|
||||
|
@ -61,7 +60,7 @@ function custom_breadcrumbs_page() {
|
|||
// Add an arrow indicating sort direction.
|
||||
$image = array($order => theme('tablesort_indicator', $sort[$order]));
|
||||
|
||||
$headers = array();
|
||||
$headers = array();
|
||||
foreach ($columns as $key => $title) {
|
||||
$options = array('attributes' => array('title' => t('sort by @s', array('@s' => $title))));
|
||||
$options['query'] = 'order=' . $key . '&sort=' . $sort[$key];
|
||||
|
@ -90,7 +89,7 @@ function custom_breadcrumbs_page() {
|
|||
$rows[] = array(array('data' => t('No custom breadcrumbs have been defined.'), 'colspan' => 2 + (int)$multilingual));
|
||||
}
|
||||
|
||||
$output = drupal_get_form('custom_breadcrumbs_filter_form');
|
||||
$output = drupal_get_form('custom_breadcrumbs_filter_form');
|
||||
$output .= theme('table', $headers, $rows);
|
||||
return $output;
|
||||
}
|
||||
|
@ -105,17 +104,17 @@ function custom_breadcrumbs_page() {
|
|||
* @param $bc2
|
||||
* Second breadcrumb object.
|
||||
*
|
||||
* @return
|
||||
* @return
|
||||
* 0 if the two objects have equal ranking,
|
||||
* 1 if the first object is greater than the second,
|
||||
* -1 if the second object is greater than the first,
|
||||
* -1 if the second object is greater than the first,
|
||||
*/
|
||||
function _custom_breadcrumbs_sort_cmp($bc1, $bc2) {
|
||||
$custom_breadcrumbs_sort = variable_get('custom_breadcrumbs_sort', array(
|
||||
'direction' => array('name' => 'asc', 'breadcrumb_type' => 'asc', 'language' => 'asc'),
|
||||
'column' => 'name')
|
||||
);
|
||||
$options = array('name', 'breadcrumb_type', 'language');
|
||||
$options = array('name', 'breadcrumb_type', 'language');
|
||||
$first = $custom_breadcrumbs_sort['column'];
|
||||
$keys = array_keys($options, $first);
|
||||
$key = array_pop($keys);
|
||||
|
@ -130,7 +129,7 @@ function _custom_breadcrumbs_sort_cmp($bc1, $bc2) {
|
|||
if ($bc1->$options[0] == $bc2->$options[0]) {
|
||||
if ($bc1->$options[1] == $bc2->$options[1]) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return ($bc1->$options[1] > $bc2->$options[1]) ? $sortdir[$options[1]] : -1*$sortdir[$options[1]];
|
||||
}
|
||||
return ($bc1->$options[0] > $bc2->$options[0]) ? $sortdir[$options[0]] : -1*$sortdir[$options[0]];
|
||||
|
@ -204,7 +203,7 @@ function custom_breadcrumbs_form_validate($form, &$form_state) {
|
|||
}
|
||||
else {
|
||||
// If PHP is used, don't validate number of paths and titles.
|
||||
if ((strpos($form_state['values']['titles'], '<?php') !== FALSE) ||
|
||||
if ((strpos($form_state['values']['titles'], '<?php') !== FALSE) ||
|
||||
(strpos($form_state['values']['paths'], '<?php') !== FALSE)) {
|
||||
$check = FALSE;
|
||||
}
|
||||
|
@ -297,7 +296,7 @@ function custom_breadcrumbs_common_form_elements($bid, $breadcrumb) {
|
|||
$description = t('A list of titles for the breadcrumb links, one on each line. For each crumb title you can also specify a title attribute to add to the link. Separate the crumb title and the title attribute with a pipe (|) symbol.');
|
||||
if (variable_get('custom_breadcrumbs_use_php_in_titles', FALSE) && user_access('use php in custom breadcrumbs')) {
|
||||
$description .= ' '. t("Or, you can enter a small PHP code snippet (less than 250 characters) returning either an array of text strings for the breadcrumb titles, with one title per array element, or an associative array with elements 'titles' and 'paths' each containing an array of text strings for the breadcrumb titles and paths, respectively. Include the snippet between %php. Use with caution since incorrect PHP code can break your Drupal site. Token replacement will occur after any PHP is evaluated.", array('%php' => '<?php ?>'));
|
||||
}
|
||||
}
|
||||
|
||||
$form['titles'] = array(
|
||||
'#type' => 'textarea',
|
||||
|
@ -538,7 +537,7 @@ function custom_breadcrumbs_admin_settings() {
|
|||
$form['adv_settings']['module_weights']['table'] = custom_breadcrumbs_module_weight();
|
||||
if (!empty($form['adv_settings']['module_weights']['table'])) {
|
||||
$form['adv_settings']['module_weights']['table']['#theme'] = 'custom_breadcrumbs_module_weight';
|
||||
}
|
||||
}
|
||||
else {
|
||||
unset($form['adv_settings']['module_weights']);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; $Id: custom_breadcrumbs.info,v 1.6.4.1 2009/03/28 21:31:24 mgn Exp $
|
||||
name = Custom Breadcrumbs
|
||||
package = Custom Breadcrumbs
|
||||
description = Allows administrators to define custom breadcrumb trails for node types.
|
||||
|
@ -12,4 +11,3 @@ version = "6.x-2.0-rc1"
|
|||
core = "6.x"
|
||||
project = "custom_breadcrumbs"
|
||||
datestamp = "1294462254"
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs.install,v 1.3.2.3.2.14 2011/01/08 03:53:17 mgn Exp $
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Install file for the custom_breadcrumbs module.
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs.module,v 1.6.2.5.2.48 2011/01/02 20:51:22 mgn Exp $
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Provide custom breadcrumbs for node-type pages and base functionality
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs_common.inc,v 1.1.2.9 2010/05/03 22:49:15 mgn Exp $
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Common helper functions used by custom breadcrumbs submodules.
|
||||
|
@ -11,7 +9,7 @@
|
|||
*
|
||||
* @param $curpath
|
||||
* The current Drupal path.
|
||||
* @param $breadcrumb_path
|
||||
* @param $breadcrumb_path
|
||||
* The path that the breadcrumb applies to.
|
||||
*
|
||||
* @return
|
||||
|
@ -90,7 +88,7 @@ function _custom_breadcrumbs_allowed_display($display) {
|
|||
* The $display->handler->view->args array.
|
||||
*
|
||||
* @return $arg_values
|
||||
* An associative array of two elements, 'types' and 'values', each an array with elements
|
||||
* An associative array of two elements, 'types' and 'values', each an array with elements
|
||||
* corresponding to the views arguments.
|
||||
*/
|
||||
function _custom_breadcrumbs_views_parse_args($arguments, $viewargs) {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; $Id: custom_breadcrumbs_identifiers.info,v 1.1.2.1 2010/04/25 19:50:50 mgn Exp $
|
||||
name = Custom Breadcrumbs Identifiers
|
||||
package = Custom Breadcrumbs
|
||||
description = Provides special identifiers for custom breadcrumbs.
|
||||
|
@ -10,4 +9,3 @@ version = "6.x-2.0-rc1"
|
|||
core = "6.x"
|
||||
project = "custom_breadcrumbs"
|
||||
datestamp = "1294462254"
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs_identifiers.module,v 1.1.2.7 2010/12/30 18:36:25 mgn Exp $
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Provide special identifiers for use with custom breadcrumbs.
|
||||
|
@ -50,7 +48,7 @@ function custom_breadcrumbs_identifiers_cb_identifier_values($identifier, $obj)
|
|||
// Optionally wrap plain text crumb in span tag with class identifiers.
|
||||
if (variable_get('custom_breadcrumbs_none_span', FALSE)) {
|
||||
$class = 'custom-breadcrumbs-none';
|
||||
$attributes = $obj['attributes']['attributes'];
|
||||
$attributes = $obj['attributes']['attributes'];
|
||||
if (!empty($attributes['class'])) {
|
||||
$attributes['class'] .= ' ' . $class;
|
||||
}
|
||||
|
@ -196,6 +194,3 @@ function custom_breadcrumbs_identifiers_form_alter(&$form, $form_state, $form_id
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; $Id: custom_breadcrumbs_panels.info,v 1.1.2.1 2009/08/02 23:18:48 mgn Exp $
|
||||
name = Custom Breadcrumbs for Panels
|
||||
package = Custom Breadcrumbs
|
||||
dependencies[] = custom_breadcrumbs
|
||||
|
@ -16,4 +15,3 @@ version = "6.x-2.0-rc1"
|
|||
core = "6.x"
|
||||
project = "custom_breadcrumbs"
|
||||
datestamp = "1294462254"
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs_panels.install,v 1.1.2.3 2010/05/03 22:49:15 mgn Exp $
|
||||
/**
|
||||
* @file
|
||||
* Install file for the custom_breadcrumbs_panels module.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs_panels.module,v 1.1.2.9 2010/12/30 18:36:25 mgn Exp $
|
||||
/**
|
||||
* @file
|
||||
* Provide custom breadcrumbs for panels pages.
|
||||
|
@ -127,7 +126,7 @@ function custom_breadcrumbs_panels_ctools_render_alter($info, $page, $args, $con
|
|||
}
|
||||
}
|
||||
|
||||
// Is this a taxonomy term template?
|
||||
// Is this a taxonomy term template?
|
||||
if (isset($task['admin path']) && ($task['admin path'] == "taxonomy/term/%term") && module_exists('custom_breadcrumbs_taxonomy') && variable_get('custom_breadcrumbs_taxonomy_panels', FALSE)) {
|
||||
module_load_include('inc', 'custom_breadcrumbs_taxonomy');
|
||||
foreach ($contexts as $context) {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; $Id: custom_breadcrumbs_paths.info,v 1.1.2.1 2009/04/06 12:43:32 mgn Exp $
|
||||
name = Custom Breadcrumbs for Paths
|
||||
package = Custom Breadcrumbs
|
||||
dependencies[] = custom_breadcrumbs
|
||||
|
@ -13,4 +12,3 @@ version = "6.x-2.0-rc1"
|
|||
core = "6.x"
|
||||
project = "custom_breadcrumbs"
|
||||
datestamp = "1294462254"
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs_paths.install,v 1.1.2.7 2010/05/03 22:49:15 mgn Exp $
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Install file for the custom_breadcrumbs module.
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs_paths.module,v 1.1.2.26 2010/12/30 18:36:25 mgn Exp $
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Assign custom breadcrumbs based on the Drupal path.
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs_taxonomy.admin.inc,v 1.1.2.8 2010/04/25 20:52:23 mgn Exp $
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Administration pages for custom_breadcrumbs_taxonomy.
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs_taxonomy.inc,v 1.1.2.19 2010/12/30 18:36:25 mgn Exp $
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Helper functions for custom_breadcrumbs_taxonomy.
|
||||
|
@ -179,7 +177,7 @@ function custom_breadcrumbs_taxonomy_node_get_lightest_term($node) {
|
|||
if (!empty($terms)) {
|
||||
if (count($terms) > 1) {
|
||||
foreach ($terms as $term) {
|
||||
// Only consider terms in the lightest vocabulary.
|
||||
// Only consider terms in the lightest vocabulary.
|
||||
if (!isset($vid)) {
|
||||
$vid = $term->vid;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; $Id: custom_breadcrumbs_taxonomy.info,v 1.1.2.2 2009/05/30 22:02:07 mgn Exp $
|
||||
name = Custom Breadcrumbs for Taxonomy
|
||||
description = "Enables taxonomy based breadcrumbs and allows for node assosciations with taxonomy terms."
|
||||
package = Custom Breadcrumbs
|
||||
|
@ -11,4 +10,3 @@ version = "6.x-2.0-rc1"
|
|||
core = "6.x"
|
||||
project = "custom_breadcrumbs"
|
||||
datestamp = "1294462254"
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs_taxonomy.install,v 1.1.2.10 2011/01/08 03:53:17 mgn Exp $
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Install file for the custom_breadcrumbs_taxonomy module.
|
||||
|
@ -131,7 +129,7 @@ function custom_breadcrumbs_taxonomy_schema() {
|
|||
),
|
||||
'primary key' => array('bid'),
|
||||
);
|
||||
|
||||
|
||||
$schema['custom_breadcrumbs_taxonomy_vocabulary'] = array(
|
||||
'description' => 'Stores custom breadcrumbs for taxonomy vocabularies',
|
||||
'fields' => array(
|
||||
|
@ -211,6 +209,6 @@ function custom_breadcrumbs_taxonomy_update_6200() {
|
|||
$ret = array();
|
||||
db_add_field($ret, 'custom_breadcrumbs_taxonomy_term', 'name', array('type' => 'varchar', 'length' => 128, 'NOT NULL' => FALSE, 'description' => 'An optional name for the custom breadcrumb.'));
|
||||
db_add_field($ret, 'custom_breadcrumbs_taxonomy_vocabulary', 'name', array('type' => 'varchar', 'length' => 128, 'NOT NULL' => FALSE, 'description' => 'An optional name for the custom breadcrumb.'));
|
||||
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs_taxonomy.module,v 1.1.2.26 2010/12/30 18:36:25 mgn Exp $
|
||||
|
||||
/**
|
||||
* @file
|
||||
* This module implements taxonomy_based breadcrumbs using a hybrid of methods
|
||||
|
@ -12,7 +10,7 @@
|
|||
*
|
||||
* - The HOME breadcrumb (if present) links to the home page. The text
|
||||
* displayed for HOME is administrator configurable on the custom_breadcrumbs
|
||||
* settings page.
|
||||
* settings page.
|
||||
* - The VOCABULARY breadcrumb (if present) will link to an administrator
|
||||
* defined page. If the VOCABULARY does not have an administrator
|
||||
* defined page, it will not appear in the breadcrumb trail.
|
||||
|
@ -25,8 +23,8 @@
|
|||
* mysite >> term >> term
|
||||
* home >> vocabulary >> term >> term
|
||||
* vocabulary >> term >> term
|
||||
*
|
||||
* If 'Use taxonomy hierarchy' is not checked, then the titles and paths used to
|
||||
*
|
||||
* If 'Use taxonomy hierarchy' is not checked, then the titles and paths used to
|
||||
* construct the breadcrumb should be defined at the custom_breadcrumbs administration
|
||||
* page in the same as other custom breadcrumbs. For a node containing multiple terms
|
||||
* and vocabularies, the lightest term with a visible, matching custom breadcrumb is
|
||||
|
@ -52,14 +50,14 @@ define('CUSTOM_BREADCRUMBS_TAXONOMY_NODE_TYPES_DEFAULT', 'book');
|
|||
function custom_breadcrumbs_taxonomy_cb_breadcrumb_info() {
|
||||
$breadcrumb_type_info = array();
|
||||
$breadcrumb_type_info['taxonomy_vocabulary'] = array(
|
||||
'table' => 'custom_breadcrumbs_taxonomy_vocabulary',
|
||||
'field' => 'vid',
|
||||
'table' => 'custom_breadcrumbs_taxonomy_vocabulary',
|
||||
'field' => 'vid',
|
||||
'type' => 'taxonomy_vocabulary',
|
||||
'name_constructor' => '_custom_breadcrumbs_taxonomy_vocabulary_breadcrumb_name'
|
||||
);
|
||||
$breadcrumb_type_info['taxonomy_term'] = array(
|
||||
'table' => 'custom_breadcrumbs_taxonomy_term',
|
||||
'field' => 'tid',
|
||||
'table' => 'custom_breadcrumbs_taxonomy_term',
|
||||
'field' => 'tid',
|
||||
'type' => 'taxonomy_term',
|
||||
'name_constructor' => '_custom_breadcrumbs_taxonomy_term_breadcrumb_name'
|
||||
);
|
||||
|
@ -71,7 +69,7 @@ function custom_breadcrumbs_taxonomy_cb_breadcrumb_info() {
|
|||
*
|
||||
* @param $breadcrumb
|
||||
* The breadcrumb object.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
* A text string that will be used as the breadcrumb name.
|
||||
*/
|
||||
|
@ -79,11 +77,11 @@ function _custom_breadcrumbs_taxonomy_term_breadcrumb_name($breadcrumb) {
|
|||
$names = array();
|
||||
$parents = taxonomy_get_parents_all($breadcrumb->tid);
|
||||
while ($parent = array_shift($parents)) {
|
||||
$names[] = $parent->name;
|
||||
$names[] = $parent->name;
|
||||
}
|
||||
$term = taxonomy_get_term($breadcrumb->tid);
|
||||
$vocabulary = taxonomy_vocabulary_load($term->vid);
|
||||
$names[] = $vocabulary->name;
|
||||
$names[] = $vocabulary->name;
|
||||
$names = array_reverse($names);
|
||||
$output = implode('>', $names);
|
||||
return $output;
|
||||
|
@ -94,7 +92,7 @@ function _custom_breadcrumbs_taxonomy_term_breadcrumb_name($breadcrumb) {
|
|||
*
|
||||
* @param $breadcrumb
|
||||
* The breadcrumb object.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
* A text string that will be used as the breadcrumb name.
|
||||
*/
|
||||
|
@ -449,7 +447,7 @@ function custom_breadcrumbs_taxonomy_form_taxonomy_form_term_alter(&$form, &$for
|
|||
/**
|
||||
* Implements hook_cb_node_form_table.
|
||||
*
|
||||
* @param $node
|
||||
* @param $node
|
||||
* The node object being edited
|
||||
*
|
||||
* @return $breadcrumbs
|
||||
|
@ -482,7 +480,7 @@ function custom_breadcrumbs_taxonomy_cb_node_form_table($node) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Determines if the current node is one of the types listed on the advanced settings page.
|
||||
* Determines if the current node is one of the types listed on the advanced settings page.
|
||||
*
|
||||
* @param $nodetype
|
||||
* The node type being considered for a custom breadcrumb.
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; $Id: custom_breadcrumbs_views.info,v 1.1.2.1 2009/03/29 04:36:45 mgn Exp $
|
||||
name = Custom Breadcrumbs for Views
|
||||
package = Custom Breadcrumbs
|
||||
dependencies[] = custom_breadcrumbs
|
||||
|
@ -14,4 +13,3 @@ version = "6.x-2.0-rc1"
|
|||
core = "6.x"
|
||||
project = "custom_breadcrumbs"
|
||||
datestamp = "1294462254"
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs_views.install,v 1.1.2.7 2010/05/03 22:49:15 mgn Exp $
|
||||
/**
|
||||
* @file
|
||||
* Install file for the custom_breadcrumbs_views module.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbs_views.module,v 1.1.2.21 2010/05/03 22:49:15 mgn Exp $
|
||||
/**
|
||||
* @file
|
||||
* Provide custom breadcrumbs for views pages.
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; $Id: custom_breadcrumbsapi.info,v 1.1.2.1 2009/09/08 01:31:48 mgn Exp $
|
||||
name = Custom Breadcrumbs API
|
||||
package = Custom Breadcrumbs
|
||||
dependencies[] = custom_breadcrumbs
|
||||
|
@ -13,4 +12,3 @@ version = "6.x-2.0-rc1"
|
|||
core = "6.x"
|
||||
project = "custom_breadcrumbs"
|
||||
datestamp = "1294462254"
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbsapi.install,v 1.1.2.3 2010/05/03 22:49:15 mgn Exp $
|
||||
/**
|
||||
* @file
|
||||
* Install file for the custom_breadcrumbsapi module.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
// $Id: custom_breadcrumbsapi.module,v 1.1.2.9 2010/10/22 15:55:33 mgn Exp $
|
||||
/**
|
||||
* @file
|
||||
* Provide custom breadcrumbs for module pages.
|
||||
|
@ -82,7 +81,7 @@ function custom_breadcrumbsapi_menu() {
|
|||
* Provide a function for module developers to provide custom breadcrumbs for module pages.
|
||||
* Modules wishing to provide custom breadcrumbs access to specific pages should include
|
||||
* drupal_alter('breadcrumb', $breadcrumb, $modulepage, $objs);
|
||||
* at the end of the function providing the page.
|
||||
* at the end of the function providing the page.
|
||||
*
|
||||
* @param $breadcrumb
|
||||
* The breadcrumb array to be altered
|
||||
|
|
Reference in a new issue