Commit 260016fe authored by webchick's avatar webchick
Browse files

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

parent 01297602
......@@ -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',
);
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment