Created
April 15, 2011 00:44
-
-
Save timcosgrove/920906 to your computer and use it in GitHub Desktop.
This file contains 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 | |
// Modules can add elements to $page as needed in hook_page_build(). | |
foreach (module_implements('page_build') as $module) { | |
$function = $module . '_page_build'; | |
$function($page); | |
} | |
// this could also have been | |
module_invoke_all('page_build', $page); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment