function rules_i18n_action_t in Rules 7.2
Action callback: Translate a text.
1 string reference to 'rules_i18n_action_t'
- rules_i18n_rules_action_info in rules_i18n/
rules_i18n.rules.inc - Implements hook_rules_action_info().
File
- rules_i18n/
rules_i18n.rules.inc, line 73 - Internationalization rules integration.
Code
function rules_i18n_action_t($text) {
// Nothing to do, as our input evaluator has already translated it.
// @see RulesI18nStringEvaluator
return array(
'text' => $text,
);
}