Skip to content

Instantly share code, notes, and snippets.

@davereid
Last active October 14, 2016 19:33
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davereid/9859485 to your computer and use it in GitHub Desktop.
Save davereid/9859485 to your computer and use it in GitHub Desktop.
/**
* Implements hook_page_alter().
*/
function batch_yakety_sax_page_alter(&$page) {
if (current_path() == 'batch' && isset($_REQUEST['id']) && batch_load($_REQUEST['id'])) {
$page['content']['system_main']['yakety']['#markup'] = '<iframe width="100%" height="450" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/playlists/28530082&amp;color=0066cc&amp;auto_play=true&amp;hide_related=false&amp;show_artwork=true"></iframe>';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment