diff --git a/core/modules/layout/layout.admin.inc b/core/modules/layout/layout.admin.inc index 7ab7e74..2b7f913 100644 --- a/core/modules/layout/layout.admin.inc +++ b/core/modules/layout/layout.admin.inc @@ -15,24 +15,15 @@ function layout_page_list() { $layouts = layout_manager()->getDefinitions(); $rows = array(); - $header = array(t('Name'), t('Source'), t('Operations')); + $header = array(t('Name'), t('Source')); foreach ($layouts as $name => $layout) { - // Build list of operations link for layout. - $operations = array(); - $operations['view'] = array( - 'title' => t('View'), - 'href' => 'admin/structure/templates/manage/' . $name, - 'weight' => 10, - ); - $provider_info = system_get_info($layout['provider']['type'], $layout['provider']['provider']); // Build table columns for this row. $row = array(); - $row['name'] = $layout['title']; + $row['name'] = l($layout['title'], 'admin/structure/templates/manage/' . $name); // Type can either be 'module' or 'theme'. $row['provider'] = t('@name @type', array('@name' => $provider_info['name'], '@type' => t($layout['provider']['type']))); - $row['operations']['data'] = array('#type' => 'operations', '#links' => $operations); $rows[] = $row; }