You are here

function commerce_demo_install in Commerce Demo 8

Same name and namespace in other branches
  1. 8.2 commerce_demo.install \commerce_demo_install()

Implements hook_install().

File

./commerce_demo.install, line 11
Contains install and update functions for Commerce Demo.

Code

function commerce_demo_install() {
  if (!\Drupal::isConfigSyncing()) {
    \Drupal::getContainer()
      ->get('commerce_demo.content_importer')
      ->onInstall();
  }
}