Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Remove hook_install() from generated subprofiles #622

Open
wants to merge 2 commits into
base: 8.x-3.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions templates/profile/install.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
*/

/**
* Implements hook_install().
* Implement hook_install() here to perform additional site information tasks,
* generate sample content, etc.
*
* Drupal 8.6 provides the ability to install sites directly from existing
* config when using the core configuration management system. Note that this
* feature cannot be used if your install profile implements hook_install().
*
* @see https://www.drupal.org/node/2897299
*/
function {{ machine_name }}_install() {
// Add code here perform additional site information tasks, generate sample
// content, etc.
}