function restrict_ip_preprocess_breadcrumb in Restrict IP 7.2
Override of template_preprocess_breadcrumb().
Unsets the breadcrumb if the user has not been whitelisted.
File
- ./
restrict_ip.module, line 443 - Holds hooks for the restrict_ip module.
Code
function restrict_ip_preprocess_breadcrumb(&$vars) {
if (ip_restricted()) {
$vars['breadcrumb'] = array();
}
}