data selector not working in custom Module I am working in a module and I have added custom date data attribute to ubercart order.

Now, I would like to create a data selector in rules for custom date attribute of the order.

I have implemented hook_rules_data_info() into my custom module but its not showing in data selector in rules.

/**
 * Implements hook_rules_data_info().
 */
function uc_datepicker_rules_data_info() {

  $entities['uc_datepicker'] = array(
    'label' =&gt; t('Ubercart Delivery Date'),
    'group' =&gt; t('Ubercart'),
    'wrap' =&gt; TRUE,
    'token type' =&gt; FALSE,
  );

  return $entities;
}


I have also added implemented hook_rules_condition_info() hook and its showing date condition into rules correctly.

Please suggest, how can I add data selector in rules for date attribute of the order in my custom module.

Thanks,
Have you tried with the options as 'getter callback' &amp; 'setter callback'? It seems that these data selectors that you are creating needs to pass the values to the already implemented hook_rules_condition_info as parameters.