commerce_demo.install in Commerce Demo 8
Same filename and directory in other branches
Contains install and update functions for Commerce Demo.
File
commerce_demo.installView source
<?php
/**
* @file
* Contains install and update functions for Commerce Demo.
*/
/**
* Implements hook_install().
*/
function commerce_demo_install() {
if (!\Drupal::isConfigSyncing()) {
\Drupal::getContainer()
->get('commerce_demo.content_importer')
->onInstall();
}
}
Functions
Name | Description |
---|---|
commerce_demo_install | Implements hook_install(). |