function hook_default_rules_configuration_alter

Alter default rules configurations.

The implementation should be placed into the file MODULENAME.rules_defaults.inc, which gets automatically included when the hook is invoked.

Parameters

$configs: The default configurations of all modules as returned from hook_default_rules_configuration().

See also

hook_default_rules_configuration()

Related topics

File

./rules.api.php, line 895

Code

function hook_default_rules_configuration_alter(&$configs) {
    // Add custom condition.
    $configs['foo']->condition('bar');
}