You are here

function better_messages_element_info_alter in Better Messages 8

Implements hook_element_info_alter().

File

./better_messages.module, line 32
Better messages module file.

Code

function better_messages_element_info_alter(array &$info) {

  // Replace the default pre_render for status_messages with our custom one.
  $info['status_messages']['#pre_render'][0] = 'better_messages_status_messages_pre_render';
}