You are here

function _menu_CrumbsPlugin__link_title::define in Crumbs, the Breadcrumbs suite 6

Same name and namespace in other branches
  1. 6.2 plugins/crumbs.menu.inc \_menu_CrumbsPlugin__link_title::define()

File

plugins/crumbs.menu.inc, line 48

Class

_menu_CrumbsPlugin__link_title

Code

function define($h) {
  $q = db_query($sql = "SELECT menu_name, title FROM {menu_custom}");
  $titles = array();
  while ($row = db_fetch_object($q)) {
    $h
      ->addRule($row->menu_name, $row->title);
  }
}