You are here

function __domain_rules_schemes in Domain Rules 7

Get array of http and https schemes

Return value

array

1 call to __domain_rules_schemes()
domain_rules_actions_create_domain in ./domain_rules.module
Custom hook Do on action 'create domain'
1 string reference to '__domain_rules_schemes'
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 25
domain_rules.module @description Port of 'Domain rules' by shushu for Drupal7

Code

function __domain_rules_schemes() {
  return array(
    0 => t('http'),
    1 => t('https'),
  );
}