You are here

function rules_ui_list_textarea_pre_render in Rules 7.2

FAPI pre render callback. Turns the value back to a string for rendering.

See also

rules_ui_list_textarea_after_build()

1 string reference to 'rules_ui_list_textarea_pre_render'
RulesDataUIListText::inputForm in ui/ui.data.inc
Implements RulesDataDirectInputFormInterface::inputForm().

File

ui/ui.forms.inc, line 872
Rules User Interface forms.

Code

function rules_ui_list_textarea_pre_render($element) {
  $element['#value'] = implode($element['#delimiter'], $element['#value']);
  return $element;
}