function addthis_test_with_js in AddThis 7.4
Page callback to test a page load with js loaded.
Return value
array Render array for this page.
1 string reference to 'addthis_test_with_js'
- addthis_test_menu in addthis_test/
addthis_test.module - Implements hook_menu().
File
- addthis_test/
includes/ addthis.test_pages.inc, line 29 - Callbacks for test pages that include AddThis functionality.
Code
function addthis_test_with_js() {
$content = array();
$content['explanation'] = array(
'#markup' => 'Widget js is loaded on this page through hook_page_build().<br>
<!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="addthis_sharing_toolbox"></div>',
);
return $content;
}