function pm_menu_list in Drupal PM (Project Management) 7.3
Get list of menu types.
File
- includes/
pm.menu.inc, line 11 - Drupal Pm Menu Admin settings.
Code
function pm_menu_list() {
$header = array(
'title' => t('Menu Type'),
'icon' => t('Description'),
'main_link' => t('Operations'),
);
$rows = array();
$rows[] = array(
t('Page'),
t('This menu will be displayed on your site as a page at path !path', array(
'!path' => l('pm', 'pm'),
)),
l('Manage', 'admin/config/pm/pm/menu/page'),
);
$rows[] = array(
t('Block'),
t('This menu can be positioned anywhere on your site as a block. Configure positioning using !link', array(
'!link' => l('this block configuration page', 'admin/structure/block/manage/pm/pm_menu/configure'),
)),
l('Manage', 'admin/config/pm/pm/menu/block'),
);
return array(
'#theme' => 'table',
'#header' => $header,
'#rows' => $rows,
);
}