You are here

function opigno_learning_path_update_8027 in Opigno Learning path 8

Hide block title.

File

./opigno_learning_path.install, line 797
Install, update and uninstall functions for the module.

Code

function opigno_learning_path_update_8027() {
  $config_path = drupal_get_path('module', 'opigno_learning_path') . '/config/optional';
  $storage = new FileStorage($config_path);
  $config_storage = \Drupal::service('config.storage');
  $data = $storage
    ->read('block.block.opigno_training_catalog_filter');
  $config_storage
    ->write('block.block.opigno_training_catalog_filter', $data);
}