drupal 7 添加面包屑

$breadcrumb = array();
$breadcrumb[] = l('新工商名录', 'https://gongshang.mingluji.com/');
//$breadcrumb[] = l("31省名录","https://gongshang.mingluji.com/list");
$breadcrumb[] = l("$shengfen", '');
if ($city != NULL) { $breadcrumb[] = l($city,"city/$city"); }
if ($county != NULL) { $breadcrumb[] = l($county,"county/$county"); }
drupal_set_breadcrumb($breadcrumb);

在这里插入图片描述

你可能感兴趣的:(drupal)