瀏覽代碼

removed translation link from publications

Bachir Soussi Chiadmi 9 年之前
父節點
當前提交
4eadc1b771

+ 6 - 5
sites/all/modules/features/materio_publications/materio_publications.info

@@ -1,17 +1,14 @@
 name = Materio publications
 core = 7.x
 package = Materio
+dependencies[] = ctools
 dependencies[] = features
-dependencies[] = image
+dependencies[] = list
 dependencies[] = materio_content_types
-dependencies[] = materio_page_title
-dependencies[] = materio_subscriptions
 dependencies[] = metatag
 dependencies[] = node
-dependencies[] = options
 dependencies[] = strongarm
 dependencies[] = text
-dependencies[] = workflow
 dependencies[] = workflow_access
 features[ctools][] = strongarm:strongarm:1
 features[features_api][] = api:2
@@ -67,4 +64,8 @@ features[variable][] = unique_field_show_matches_publication
 features[variable][] = workflow_publication
 features[workflow][] = Publication
 features[workflow_access][] = Publication
+features_exclude[dependencies][image] = image
+features_exclude[dependencies][materio_page_title] = materio_page_title
+features_exclude[dependencies][materio_subscriptions] = materio_subscriptions
+features_exclude[dependencies][options] = options
 project path = sites/all/modules/features

+ 2 - 2
sites/all/modules/features/materio_publications/materio_publications.strongarm.inc

@@ -14,7 +14,7 @@ function materio_publications_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'additional_settings__active_tab_publication';
-  $strongarm->value = 'edit-submission';
+  $strongarm->value = 'edit-print';
   $export['additional_settings__active_tab_publication'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -84,7 +84,7 @@ function materio_publications_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'entity_translation_hide_translation_links_publication';
-  $strongarm->value = 0;
+  $strongarm->value = 1;
   $export['entity_translation_hide_translation_links_publication'] = $strongarm;
 
   $strongarm = new stdClass();