You are here

function __domain_rules_state in Domain Rules 7

Get array of active and inactive

Return value

array

1 string reference to '__domain_rules_state'
domain_rules_rules_action_info in ./domain_rules.module
Implements hook_rules_action_info(). Build select list and settings forms for actions

File

./domain_rules.module, line 35
domain_rules.module @description Port of 'Domain rules' by shushu for Drupal7

Code

function __domain_rules_state() {
  return array(
    1 => t('Active'),
    0 => t('Inactive'),
  );
}