You are here

function hansel_domain_switch_domain_id_compare in Hansel breadcrumbs 8

Same name and namespace in other branches
  1. 7 domain/hansel_domain.module \hansel_domain_switch_domain_id_compare()

Callback for "domain id" switch to compare a given value.

Parameters

array $arguments:

string $value:

Return value

boolean

1 string reference to 'hansel_domain_switch_domain_id_compare'
hansel_domain_hansel_switch_types in domain/hansel_domain.module
Implements hook_hansel_switch_types().

File

domain/hansel_domain.module, line 142
Hansel domain integration

Code

function hansel_domain_switch_domain_id_compare($arguments, $value) {
  global $_domain;
  return $_domain['domain_id'] == $value;
}