function hook_rules_config_update in Rules 7.2
Respond to updates to a rules configuration.
This hook is invoked after the configuration has been updated in the database.
Parameters
RulesPlugin $config: The rules configuration that is being updated.
Related topics
1 function implements hook_rules_config_update()
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_update in rules_i18n/
rules_i18n.module - Implements hook_rules_config_update().
File
- ./
rules.api.php, line 819 - Documentation for hooks provided by the Rules API.
Code
function hook_rules_config_update($config) {
db_update('mytable')
->fields(array(
'plugin' => $config->plugin,
))
->condition('id', $config->id)
->execute();
}