You are here

function sms_sendtophone_page_attachments in SMS Framework 8

Same name and namespace in other branches
  1. 2.x modules/sms_sendtophone/sms_sendtophone.module \sms_sendtophone_page_attachments()
  2. 2.1.x modules/sms_sendtophone/sms_sendtophone.module \sms_sendtophone_page_attachments()

Implements hook_page_attachments().

@todo Need to optimize this later.

File

modules/sms_sendtophone/sms_sendtophone.module, line 19
Provides hooks for Send To Phone.

Code

function sms_sendtophone_page_attachments(array &$attachments) {
  $attachments['#attached']['library'][] = 'sms_sendtophone/default';
}