Skip to content

Instantly share code, notes, and snippets.

@rakeshjames
Created June 27, 2016 10:51
Show Gist options
  • Save rakeshjames/41206bf33a2e5dcb9314d154685cf571 to your computer and use it in GitHub Desktop.
Save rakeshjames/41206bf33a2e5dcb9314d154685cf571 to your computer and use it in GitHub Desktop.
<?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