function rules_i18n_action_t

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

Code

function rules_i18n_action_t($text) {
    // Nothing to do, as our input evaluator has already translated it.
    // @see RulesI18nStringEvaluator
    return array(
        'text' => $text,
    );
}