add “people create" short cut on admin/user page
Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
parent
c0a9653975
commit
2543d32599
@ -109,7 +109,16 @@ function contentsadminrelink_menu_local_tasks_alter(&$data, $router_item, $root_
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case 'admin/users' :
|
||||
$item = menu_get_item('admin/people/create');
|
||||
if ($item['access']) {
|
||||
$data['actions']['output'][] = array(
|
||||
'#theme' => 'menu_local_action',
|
||||
'#link' => $item,
|
||||
);
|
||||
}
|
||||
break;
|
||||
|
||||
// case 'admin/content/medias' : // for example 'page/view/news'
|
||||
// $item = menu_get_item('admin/content/media/import');
|
||||
// if ($item['access']) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user