function _absolute_messages_is_devel_message in Absolute Messages 6
Same name and namespace in other branches
- 7 absolute_messages.module \_absolute_messages_is_devel_message()
Checks whether provided message is a devel message.
1 call to _absolute_messages_is_devel_message()
- theme_absolute_messages_messages in ./
absolute_messages.module - Theme function, which could be overriden by other modules/themes.
File
- ./
absolute_messages.module, line 238 - Module displaying system messages in colored horizontal bars on top of the page, similar to Stack Overflow / Stack Exchange network notifications.
Code
function _absolute_messages_is_devel_message($message) {
$devel_strings = array(
'"krumo-root',
'<pre',
'<textarea',
);
foreach ($devel_strings as $devel_string) {
if (strstr($message, $devel_string)) {
return TRUE;
}
}
}