Răsfoiți Sursa

Whoops forgot to move the menu item from tripal_chado to tripal

Stephen Ficklin 6 ani în urmă
părinte
comite
961ae072fb
2 a modificat fișierele cu 12 adăugiri și 12 ștergeri
  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'),
   );
 
+  $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
    */

+ 0 - 12
tripal_chado/tripal_chado.module

@@ -213,18 +213,6 @@ function tripal_chado_menu() {
     '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