You are here

commerce_demo.install in Commerce Demo 8

Same filename and directory in other branches
  1. 8.2 commerce_demo.install

Contains install and update functions for Commerce Demo.

File

commerce_demo.install
View 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

Namesort descending Description
commerce_demo_install Implements hook_install().