You are here

function boolean_rules_data_info in Boolean Field 7

Implements hook_rules_data_info().

File

./boolean.rules.inc, line 12
Provides integration with Rules module.

Code

function boolean_rules_data_info() {
  return array(
    'number_boolean' => array(
      'label' => t('Boolean (3-states)'),
      'ui class' => 'RulesDataUINumberBoolean',
      'wrapper class' => 'EntityMetadataWrapperNumberBoolean',
      'wrap' => TRUE,
    ),
  );
}