function RulesDataUITextFormatted::render

Implements RulesDataDirectInputFormInterface::render().

Overrides RulesDataUIText::render

File

ui/ui.data.inc, line 284

Class

RulesDataUITextFormatted
UI for formatted text.

Code

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