You are here

function commerce_demo_themes_installed in Commerce Demo 8

Implements hook_themes_installed().

File

./commerce_demo.module, line 89
Provides a demo store for Commerce.

Code

function commerce_demo_themes_installed($theme_list) {
  $theme_handler = \Drupal::getContainer()
    ->get('commerce_demo.theme_handler');
  foreach ($theme_list as $theme) {
    $theme_handler
      ->placeBlocks($theme);
  }
}