You are here

function opigno_catalog_update_9001 in Opigno training catalog 3.x

Import configs.

File

./opigno_catalog.install, line 11
Contains install and update functions for the module.

Code

function opigno_catalog_update_9001() {

  // Enable the views infinite scroll module.
  \Drupal::service('module_installer')
    ->install([
    'views_infinite_scroll',
  ]);

  // Import configs.
  \Drupal::service('config.installer')
    ->installDefaultConfig('module', 'opigno_catalog');
}