Created
January 25, 2017 11:01
-
-
Save martsie/4070671e9b111ce334bd3eb549ac5aac to your computer and use it in GitHub Desktop.
Example of Drupal 7 Ajax command PHP implementation
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
// Change the page title. | |
$ajax_commands[] = ajax_command_invoke(NULL, 'changePageTitle', array(t('My great page title'))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment