You are here

function addtoany_page_alter in AddToAny Share Buttons 5.0

Same name and namespace in other branches
  1. 7.4 addtoany.module \addtoany_page_alter()
  2. 7 addtoany.module \addtoany_page_alter()
  3. 7.3 addtoany.module \addtoany_page_alter()

Implementation of hook_page_alter(). Would use drupal_add_js, but external scripts are not well supported

Return value

String containing JavaScript code for the drop-down

File

./addtoany.module, line 123
Stand alone module file to handle AddToAny button integration

Code

function addtoany_page_alter(&$page) {
  global $_addtoany_script;
}