function hook_rules_config_update

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

Code

function hook_rules_config_update($config) {
    db_update('mytable')->fields(array(
        'plugin' => $config->plugin,
    ))
        ->condition('id', $config->id)
        ->execute();
}