You are here

function bootstrap_layout_builder_update_8002 in Bootstrap Layout Builder 1.x

Same name and namespace in other branches
  1. 2.x bootstrap_layout_builder.install \bootstrap_layout_builder_update_8002()

Import new configs for breakpoints, layouts and its options.

File

./bootstrap_layout_builder.install, line 26
Installation and updating routines.

Code

function bootstrap_layout_builder_update_8002() {

  // Enable the new dependency modules.
  \Drupal::service('module_installer')
    ->install([
    'media_library_form_element',
    'media_library_theme_reset',
  ]);

  // Re-import the default configs.
  \Drupal::service('config.installer')
    ->installDefaultConfig('module', 'bootstrap_layout_builder');
}