function RulesDataUIText::render
Implements RulesDataDirectInputFormInterface::render().
Overrides RulesDataDirectInputFormInterface::render
4 methods override RulesDataUIText::render()
- RulesDataUIDate::render in ui/
ui.data.inc - Implements RulesDataDirectInputFormInterface::render().
- RulesDataUIDuration::render in ui/
ui.data.inc - Implements RulesDataDirectInputFormInterface::render().
- RulesDataUIListText::render in ui/
ui.data.inc - Implements RulesDataDirectInputFormInterface::render().
- RulesDataUITextFormatted::render in ui/
ui.data.inc - Implements RulesDataDirectInputFormInterface::render().
File
-
ui/
ui.data.inc, line 233
Class
- RulesDataUIText
- UI for textual data.
Code
public static function render($value) {
return array(
'content' => array(
'#markup' => check_plain($value),
),
'#attributes' => array(
'class' => array(
'rules-parameter-text',
),
),
);
}