I was trying to add another additional column in the menu overview (admin/structure/menu/manage/main-menu). I used the following code:
function mymod_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == 'menu_overview_form') {
foreach ($form as $key => $item) {
if (is_array($item) && isset($item['#item'])) {
$item['node_url'] = array(
'#markup' => 'foobar'
);
}
}
}
}
It actually adds the indexes but the render output is not changed. How can I add an additional column to that overview?
Thanks