Commit 15f94a42 authored by alexpott's avatar alexpott

Issue #1961940 by xjm: Make 'Manage fields' the default dropbutton operation for content types.

parent 6543a5ba
......@@ -24,27 +24,27 @@ function node_overview_types() {
$type = $types[$key];
if (node_hook($type->type, 'form')) {
$row = array(theme('node_admin_overview', array('name' => $name, 'type' => $type)));
$links['edit'] = array(
'title' => t('Edit'),
'href' => 'admin/structure/types/manage/' . $type->type,
'weight' => 0,
);
if ($field_ui && user_access('administer node fields')) {
$links['fields'] = array(
'title' => t('Manage fields'),
'href' => 'admin/structure/types/manage/' . $type->type . '/fields',
'weight' => 5,
'weight' => 0,
);
}
if ($field_ui && user_access('administer node display')) {
$links['display'] = array(
'title' => t('Manage display'),
'href' => 'admin/structure/types/manage/' . $type->type . '/display',
'weight' => 10,
'weight' => 5,
);
}
$links['edit'] = array(
'title' => t('Edit'),
'href' => 'admin/structure/types/manage/' . $type->type,
'weight' => 10,
);
if ($type->custom) {
$links['delete'] = array(
'title' => t('Delete'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment