function rules_i18n_rules_config_delete

Implements hook_rules_config_delete().

File

rules_i18n/rules_i18n.module, line 111

Code

function rules_i18n_rules_config_delete($rules_config) {
    // Only react on real delete, not revert.
    if (!$rules_config->hasStatus(ENTITY_IN_CODE)) {
        i18n_string_object_remove('rules_config', $rules_config);
    }
}