Skip to content
This repository was archived by the owner on Jan 5, 2018. It is now read-only.

Commit 587be64

Browse files
edurenyeBerdir
authored andcommitted
removed hook_menu() and opened a issue in token: #2628298
1 parent 4ada563 commit 587be64

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

file_entity.module

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -79,29 +79,6 @@ function file_entity_help($route_name, RouteMatchInterface $route_match) {
7979
}
8080
}
8181

82-
/**
83-
* Implements hook_menu().
84-
*/
85-
function file_entity_menu() {
86-
// Optional devel module integration
87-
if (\Drupal::moduleHandler()->moduleExists('devel')) {
88-
if (\Drupal::moduleHandler()->moduleExists('token')) {
89-
$items['file/%file/devel/token'] = array(
90-
'title' => 'Tokens',
91-
'page callback' => 'token_devel_token_object',
92-
'page arguments' => array('file', 1),
93-
'access arguments' => array('access devel information'),
94-
'type' => MENU_LOCAL_TASK,
95-
'file' => 'token.pages.inc',
96-
'file path' => drupal_get_path('module', 'token'),
97-
'weight' => 5,
98-
);
99-
}
100-
}
101-
102-
return $items;
103-
}
104-
10582
/**
10683
* Implements hook_action_info_alter().
10784
*/

0 commit comments

Comments
 (0)