You are here

function status_messages_page_attachments in Status Messages 8

Same name and namespace in other branches
  1. 8.4 status_messages.module \status_messages_page_attachments()
  2. 8.2 status_messages.module \status_messages_page_attachments()
  3. 8.3 status_messages.module \status_messages_page_attachments()

Implements hook_page_attachments_alter().

File

./status_messages.module, line 29
This is the module to make simple status messages.

Code

function status_messages_page_attachments(array &$attachments) {
  $attachments['#attached']['library'][] = 'status_messages/status-messages';
}