You are here

function sms_sendtophone_page_attachments in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 modules/sms_sendtophone/sms_sendtophone.module \sms_sendtophone_page_attachments()
  2. 2.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 21
Provides hooks for Send To Phone.

Code

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