You are here

public static function RulesDataUIListText::render in Rules 7.2

Implements RulesDataDirectInputFormInterface::render().

Overrides RulesDataUIText::render

File

ui/ui.data.inc, line 519
Contains data type related forms.

Class

RulesDataUIListText
UI for lists of textual data.

Code

public static function render($value) {
  return array(
    'content' => array(
      '#markup' => check_plain(implode(', ', $value)),
    ),
    '#attributes' => array(
      'class' => array(
        'rules-parameter-list',
      ),
    ),
  );
}