浏览代码

Whoops forgot to move the menu item from tripal_chado to tripal

Stephen Ficklin 6 年之前
父节点
当前提交
961ae072fb
共有 2 个文件被更改,包括 12 次插入12 次删除
  1. 12 0
      tripal/tripal.module
  2. 0 12
      tripal_chado/tripal_chado.module

+ 12 - 0
tripal/tripal.module

@@ -109,6 +109,18 @@ function tripal_menu() {
     'file path' => drupal_get_path('module', 'system'),
     'file path' => drupal_get_path('module', 'system'),
   );
   );
 
 
+  $items['admin/content/bio_data/unpublish'] = [
+    'title' => 'Unpublish Orphaned Content',
+    'description' => t('Unpublish content that has no associated records in the data store.'),
+    'page callback' => 'drupal_get_form',
+    'page arguments' => ['tripal_unpublish_orphans_form'],
+    'access arguments' => ['administer tripal'],
+    'file' => 'includes/tripal.unpublish_orphans.inc',
+    'file path' => drupal_get_path('module', 'tripal'),
+    'type' => MENU_LOCAL_ACTION,
+    'weight' => 3
+  ];
+  
   /**
   /**
    * Tripal Extensions
    * Tripal Extensions
    */
    */

+ 0 - 12
tripal_chado/tripal_chado.module

@@ -213,18 +213,6 @@ function tripal_chado_menu() {
     'weight' => 2
     'weight' => 2
   );
   );
 
 
-  $items['admin/content/bio_data/unpublish'] = [
-    'title' => 'Unpublish Orphaned Content',
-    'description' => t('Unpublish content that has no associated records in the data store.'),
-    'page callback' => 'drupal_get_form',
-    'page arguments' => ['tripal_unpublish_orphans_form'],
-    'access arguments' => ['administer tripal'],
-    'file' => 'includes/tripal.unpublish_orphans.inc',
-    'file path' => drupal_get_path('module', 'tripal'),
-    'type' => MENU_LOCAL_ACTION,
-    'weight' => 3
-  ];
-
 
 
   //////////////////////////////////////////////////////////////////////////////
   //////////////////////////////////////////////////////////////////////////////
   //                       Materialized Views
   //                       Materialized Views