function hook_rules_config_delete
Respond to rules configuration deletion.
This hook is invoked after the configuration has been removed from the database.
Parameters
RulesPlugin $config: The rules configuration that is being deleted.
Related topics
2 functions implement hook_rules_config_delete()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- rules_i18n_rules_config_delete in rules_i18n/
rules_i18n.module - Implements hook_rules_config_delete().
- rules_scheduler_rules_config_delete in rules_scheduler/
rules_scheduler.module - Implements hook_rules_config_delete().
File
-
./
rules.api.php, line 835
Code
function hook_rules_config_delete($config) {
db_delete('mytable')->condition('id', $config->id)
->execute();
}