From 260016fe065a870bd42edebbfb7cedb146132493 Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 26 Nov 2012 20:58:27 -0800 Subject: [PATCH] Issue #1848164 by swentel, YesCT: Provide translate option for entities in contextual links. --- core/modules/translation/translation.module | 1 + core/modules/translation_entity/translation_entity.module | 1 + 2 files changed, 2 insertions(+) diff --git a/core/modules/translation/translation.module b/core/modules/translation/translation.module index 0fc53325e8c..2fff6c19031 100644 --- a/core/modules/translation/translation.module +++ b/core/modules/translation/translation.module @@ -60,6 +60,7 @@ function translation_menu() { 'access callback' => '_translation_tab_access', 'access arguments' => array(1), 'type' => MENU_LOCAL_TASK, + 'context' => MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE, 'weight' => 2, 'file' => 'translation.pages.inc', ); diff --git a/core/modules/translation_entity/translation_entity.module b/core/modules/translation_entity/translation_entity.module index f57773be797..dac1001ec18 100644 --- a/core/modules/translation_entity/translation_entity.module +++ b/core/modules/translation_entity/translation_entity.module @@ -131,6 +131,7 @@ function translation_entity_menu() { 'page callback' => 'translation_entity_overview', 'page arguments' => array($entity_position), 'type' => MENU_LOCAL_TASK, + 'context' => MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE, 'weight' => 2, ) + $item;