Issue #1848164 by swentel, YesCT: Provide translate option for entities in contextual links.
parent
0129760280
commit
260016fe06
|
@ -60,6 +60,7 @@ function translation_menu() {
|
||||||
'access callback' => '_translation_tab_access',
|
'access callback' => '_translation_tab_access',
|
||||||
'access arguments' => array(1),
|
'access arguments' => array(1),
|
||||||
'type' => MENU_LOCAL_TASK,
|
'type' => MENU_LOCAL_TASK,
|
||||||
|
'context' => MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE,
|
||||||
'weight' => 2,
|
'weight' => 2,
|
||||||
'file' => 'translation.pages.inc',
|
'file' => 'translation.pages.inc',
|
||||||
);
|
);
|
||||||
|
|
|
@ -131,6 +131,7 @@ function translation_entity_menu() {
|
||||||
'page callback' => 'translation_entity_overview',
|
'page callback' => 'translation_entity_overview',
|
||||||
'page arguments' => array($entity_position),
|
'page arguments' => array($entity_position),
|
||||||
'type' => MENU_LOCAL_TASK,
|
'type' => MENU_LOCAL_TASK,
|
||||||
|
'context' => MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE,
|
||||||
'weight' => 2,
|
'weight' => 2,
|
||||||
) + $item;
|
) + $item;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue