function theme_messages_alter_status_messages in Custom Submit Messages 7
Same name and namespace in other branches
- 7.x messages_alter/messages_alter.module \theme_messages_alter_status_messages()
Theme function Using a theme function here so that if someone wants to overide it, they can.
1 theme call to theme_messages_alter_status_messages()
- theme_messages_alter_alter in messages_alter/
messages_alter.module - Theme function This is the theme function that overrides theme('status_messages');
File
- messages_alter/
messages_alter.module, line 77 - The main module file for Status Messages Alter.
Code
function theme_messages_alter_status_messages($variables) {
$theme_function = !empty($variables['theme_function']) ? $variables['theme_function'] : 'theme_status_messages';
$output = $theme_function($variables['variables']);
return $output;
}