function addthis_test_no_js in AddThis 7.4
Page callback to test a page load without any js loaded.
Return value
array Render array for a page.
1 string reference to 'addthis_test_no_js'
- addthis_test_menu in addthis_test/
addthis_test.module - Implements hook_menu().
File
- addthis_test/
includes/ addthis.test_pages.inc, line 13 - Callbacks for test pages that include AddThis functionality.
Code
function addthis_test_no_js() {
$content = array();
$content['explanation'] = array(
'#markup' => 'No widget js is loaded on this page. Unless specified in the settings.',
);
return $content;
}