2 * Implements hook_ajax_render_alter().
4 function {{ machine_name }}_ajax_render_alter(&$commands) {
5 // Inject any new status messages into the content area.
6 $commands[] = ajax_command_prepend('#block-system-main .content', theme('status_messages'));