entityreference_behavior_example.module in Entity reference 7
Example module to demonstrate Entity reference behavior handlers.
File
examples/entityreference_behavior_example/entityreference_behavior_example.moduleView source
<?php
/**
* @file
* Example module to demonstrate Entity reference behavior handlers.
*/
/**
* Implements hook_ctools_plugin_directory().
*/
function entityreference_behavior_example_ctools_plugin_directory($module, $plugin) {
if ($module == 'entityreference') {
return 'plugins/' . $plugin;
}
}
Functions
Name | Description |
---|---|
entityreference_behavior_example_ctools_plugin_directory | Implements hook_ctools_plugin_directory(). |