You are here

function rb_misc_action_concatenate_strings in Rules Bonus Pack 7

The 'rb_misc_action_concatenate_strings' action.

File

./rb_misc.rules.inc, line 820
Miscellaneous conditions and actions for Rules.

Code

function rb_misc_action_concatenate_strings($string1, $string2) {

  // It feels silly to not solve this action in a more general way, but that
  // will have to be for some other time. Blame @Itangalo.
  return array(
    'string' => $string1 . $string2,
  );
}