Created
June 27, 2016 10:51
-
-
Save rakeshjames/41206bf33a2e5dcb9314d154685cf571 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 | |
/** | |
* @file | |
* Install, update and uninstall hooks for the Example Profile install profile. | |
*/ | |
/** | |
* Implements hook_install(). | |
* | |
* Perform actions to set up the site for this profile. | |
* | |
* @see system_install() | |
*/ | |
function example_profile_install() { | |
// First, do everything that is done in the standard profile. | |
include_once DRUPAL_ROOT . '/core/profiles/standard/standard.install'; | |
standard_install(); | |
// Add code here to make nodes, terms, etc. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment