function rules_link_i18n_rules_link_update in Rules Link 7
Same name and namespace in other branches
- 7.2 rules_link_i18n.module \rules_link_i18n_rules_link_update()
Implements hook_rules_link_update().
File
- ./
rules_link_i18n.module, line 67 - Rules link i18n integration module via entity API i18n support.
Code
function rules_link_i18n_rules_link_update($rules_link) {
// Account for name changes.
if ($rules_link->original->name != $rules_link->name) {
i18n_string_update_context("rules_link:rules_link:{$rules_link->original->name}:*", "rules_link:rules_link:{$rules_link->name}:*");
}
i18n_string_object_update('rules_link', $rules_link);
}