Created
January 25, 2017 11:07
-
-
Save martsie/78f6ff1468482392a022e64fd8e062f9 to your computer and use it in GitHub Desktop.
Drupal 7 AJAX command fallback callback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Non-JavaScript callback that returns hello world. | |
*/ | |
function MY_CUSTOM_MODULE_nojs_callback() { | |
return "Hello world"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment