You are here

public static function RulesDataUIEventStateReference::render in Booking and Availability Management Tools for Drupal 7

Render the configured value.

Return value

array A renderable array.

Overrides RulesDataDirectInputFormInterface::render

File

modules/bat_event/bat_event.rules.inc, line 58

Class

RulesDataUIEventStateReference
Defines a bat_event_state_reference input form for Rules.

Code

public static function render($value) {
  return array(
    'content' => array(
      '#markup' => $value['state'],
    ),
  );
}