Issue #1848164 by swentel, YesCT: Provide translate option for entities in contextual links.

8.0.x
webchick 2012-11-26 20:58:27 -08:00
parent 0129760280
commit 260016fe06
2 changed files with 2 additions and 0 deletions

View File

@ -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',
);

View File

@ -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;