function track_da_files_menu in Track da files 8
Same name and namespace in other branches
- 7 track_da_files.module \track_da_files_menu()
Implements hook_menu().
File
- ./
track_da_files.module, line 31 - This file contains Track da files main functions.
Code
function track_da_files_menu() {
$items['system/tdf'] = array(
'title' => 'Track da files tracking',
'description' => 'Url which triggers track da files tracking function',
'route_name' => 'track_da_files.tracking',
);
// General Report.
$items['admin/reports/track_da_files'] = array(
'title' => 'Track da files',
'description' => 'Tracked files reports',
'route_name' => 'track_da_files.table',
);
// Report for specific file.
$items['admin/reports/track_da_files/file_report/%/%'] = array(
'title' => 'File specific report',
'description' => 'Allow users to see tracking datas for a specific file',
'route_name' => 'track_da_files.table_file_report',
);
// Report for specific user.
$items['admin/reports/track_da_files/user_report/%'] = array(
'title' => 'User specific report',
'description' => 'Allow users to see tracking datas for a specific user',
'route_name' => 'track_da_files.table_user_report',
);
// Module configuration.
$items['admin/config/media/track_da_files'] = array(
'title' => 'Track da files',
'description' => 'Provides tracking of displayed files.',
'route_name' => 'track_da_files.settings',
);
return $items;
}