function _add_to_head_profile_visible in Add To Head 8
Is this profile visible?
Parameters
$profile:
Return value
bool
3 calls to _add_to_head_profile_visible()
- add_to_head_css_alter in ./
add_to_head.module - Implements hook_css_alter().
- add_to_head_page_attachments_alter in ./
add_to_head.module - Implements hook_page_attachments_alter().
- add_to_head_page_bottom in ./
add_to_head.module - Implements hook_page_bottom().
File
- ./
add_to_head.module, line 50 - Add To Head allows arbitrary insertion of code into the head of the page based on path selection.
Code
function _add_to_head_profile_visible($profile) {
return add_to_head_match_page($profile) && add_to_head_match_role($profile);
}