You are here

og_example.module in Organic groups 7.2

Same filename and directory in other branches
  1. 7 og_example/og_example.module

File

og_example/og_example.module
View source
<?php

include_once 'og_example.features.inc';

/**
 * Implements hook_ctools_plugin_directory().
 */
function og_example_ctools_plugin_directory($module, $plugin) {
  if ($module == 'entityreference') {
    return "plugins/entityreference/{$plugin}";
  }
}

/**
 * Implements hook_default_rules_configuration_alter().
 *
 * Remove OG's default notification Rules, as this modules has a superior
 * version of it, that uses Message notify.
 */
function og_example_default_rules_configuration_alter(&$configs) {
  unset($configs['rules_og_new_content']);
}