function RulesDataUIListText::render

Implements RulesDataDirectInputFormInterface::render().

Overrides RulesDataUIText::render

File

ui/ui.data.inc, line 519

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',
            ),
        ),
    );
}