function disable_messages_remove_white_space in Disable Messages 8
Same name and namespace in other branches
- 2.x disable_messages.module \disable_messages_remove_white_space()
Remove white space from the path.
Parameters
string $string: String to remove white space.
Return value
string Return clean string
2 calls to disable_messages_remove_white_space()
- disable_messages_apply_filters in ./disable_messages.module 
- Apply the filters to the messages.
- disable_messages_path_match in ./disable_messages.module 
- To find current path is matched any of the filter paths.
File
- ./disable_messages.module, line 192 
- The disable_messages module file.
Code
function disable_messages_remove_white_space($string) {
  return preg_replace('/\\s+/', '', $string);
}