-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathting_recommender.module
More file actions
48 lines (42 loc) · 1.12 KB
/
ting_recommender.module
File metadata and controls
48 lines (42 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* @file
* Ting expansion search module main file.
*/
//function ting_expansion_search_menu() {
// $items = array();
//
//
// $items['ting/expansionsearch'] = array(
// 'title' => 'Retreives count of search results for expanded profiles',
// 'page callback' => 'ting_expansion_search_count',
// 'access arguments' => array('access content'),
// 'type' => MENU_CALLBACK,
// );
//
//
// return $items;
//}
//
//function ting_expansion_search_theme($existing, $type, $theme, $path) {
// return array(
// 'ting_expansion_search' => array(
// 'variables' => array(
// 'links' => NULL,
// ),
// 'template' => 'ting-expansion-search',
// 'path' => $path . '/templates',
// ),
// );
//}
/**
* Implements hook_ctools_plugin_directory().
*
* It simply tells panels where to find the .inc files that define various
* args, contexts, content_types.
*/
function ting_recommender_ctools_plugin_directory($module, $plugin) {
if ($module == 'ctools' && !empty($plugin)) {
return "plugins/$plugin";
}
}