You are here

public static function RulesDataUITextFormatted::render in Rules 7.2

Implements RulesDataDirectInputFormInterface::render().

Overrides RulesDataUIText::render

File

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

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