1 system.install system_update_1055()

Create the new layout settings configuration file.

Related topics

File

core/modules/system/system.install, line 2964
Install, update and uninstall functions for the system module.

Code

function system_update_1055() {
  $config = config('layout.settings');
  if ($config->isNew()) {
    // Upgrading from Backdrop 1.3, disable new layouts initially.
    $bootstrap = array('boxton', 'geary', 'harris', 'moscone', 'moscone_flipped', 'rolph', 'simmons', 'sutro', 'taylor', 'taylor_flipped');
    $config->set('excluded_templates', $bootstrap);
    $config->save();
  }
}