og_example.module in Organic groups 7.2
Same filename and directory in other branches
File
og_example/og_example.moduleView 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']);
}
Functions
Name![]() |
Description |
---|---|
og_example_ctools_plugin_directory | Implements hook_ctools_plugin_directory(). |
og_example_default_rules_configuration_alter | Implements hook_default_rules_configuration_alter(). |