This repository has been archived on 2025-01-19. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drupalcampbristol/vendor/drupal/console/templates/profile/install.twig
2018-11-23 12:29:20 +00:00

21 lines
476 B
Twig

<?php
/**
* @file
* Install, update and uninstall hooks for the {{ profile }} install profile.
*/
/**
* Implements hook_install().
*
* Perform actions to set up the site for this profile.
*
* @see system_install()
*/
function {{ machine_name }}_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.
}