Created
January 25, 2017 11:18
-
-
Save martsie/25c5632a1841d37b69cb0404952935ad to your computer and use it in GitHub Desktop.
Sample Drupal 7 module hook
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 | |
/** | |
* @file | |
* A description of the code contained in this file. | |
*/ | |
/** | |
* Implements hook_init(). | |
*/ | |
function my_custom_module_init() { | |
drupal_set_title('My custom page title override'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment