You are here

entityreference_behavior_example.module in Entity reference 7

Example module to demonstrate Entity reference behavior handlers.

File

examples/entityreference_behavior_example/entityreference_behavior_example.module
View 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;
  }
}