root / drupal7 / sites / all / modules / entityreference / examples / entityreference_behavior_example / entityreference_behavior_example.module @ 2c8c2b87
1 | 85ad3d82 | Assos Assos | <?php |
---|---|---|---|
2 | |||
3 | /** |
||
4 | * @file |
||
5 | * Example module to demonstrate Entity reference behavior handlers. |
||
6 | */ |
||
7 | |||
8 | /** |
||
9 | * Implements hook_ctools_plugin_directory(). |
||
10 | */ |
||
11 | function entityreference_behavior_example_ctools_plugin_directory($module, $plugin) { |
||
12 | if ($module == 'entityreference') { |
||
13 | return 'plugins/' . $plugin; |
||
14 | } |
||
15 | } |