function hansel_switch_request_uri_compare in Hansel breadcrumbs 7
Same name and namespace in other branches
- 8 hansel.switches.inc \hansel_switch_request_uri_compare()
Callback for "Request URI" switch.
Parameters
array $arguments:
string $value:
Return value
boolean
1 string reference to 'hansel_switch_request_uri_compare'
- hansel_hansel_switch_types in ./
hansel.module - Implements hook_hansel_switch_types().
File
- ./
hansel.switches.inc, line 253 - Hansel switches
Code
function hansel_switch_request_uri_compare($arguments, $value) {
$uri = trim(request_uri(), '/');
return _hansel_switch_string_compare($arguments, $value, $uri);
}