function _cookie_content_blocker_blocked_message in Cookie Content Blocker 7
The default message for disabled elements while cookies are not accepted.
Return value
string The default message.
2 calls to _cookie_content_blocker_blocked_message()
- cookie_content_blocker_media_provider_blocked_message in modules/
cookie_content_blocker_media/ cookie_content_blocker_media.module - Get the blocked message that should be shown for the given provider.
- _cookie_content_blocker_element_defaults in ./
cookie_content_blocker.module - Defines defaults used by the Cookie content blocker wrapper.
File
- ./
cookie_content_blocker.module, line 231 - Contains the main module code for Cookie content blocker.
Code
function _cookie_content_blocker_blocked_message() {
$default_message = variable_get('cookie_content_blocker_blocked_message');
return empty($default_message) ? t('You have not yet given permission to place the required cookies. Accept the required cookies to view this content.') : $default_message;
}