You are here

public static function RulesFormsDataUI::render in Rules Forms Support 7

Renders a parameter value.

Overrides RulesDataDirectInputFormInterface::render

File

includes/rules_forms.ui.inc, line 36
Defines data type classes for forms and form elements.

Class

RulesFormsDataUI
Extends data to be used by Rules.

Code

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