You are here

function crumbs_Admin_DebugTable::__construct in Crumbs, the Breadcrumbs suite 7.2

File

lib/Admin/DebugTable.php, line 21

Class

crumbs_Admin_DebugTable

Code

function __construct() {
  $this->table = new crumbs_UI_Table();
  $this->table
    ->addColGroup('candidate', array(
    'key',
    'weight',
  ))
    ->addRowName('path')
    ->addRowName('route')
    ->addRowName('link')
    ->td('path', 'candidate', t('Trail paths'))
    ->td('route', 'candidate', t('Router path'))
    ->td('link', 'candidate', t('Breadcrumb items'));
}