You are here

function opigno_module_update_8026 in Opigno module 8

Update views: 'Opigno Score Modules (User module status)'.

File

./opigno_module.install, line 1417
Opigno module app install/update functionality.

Code

function opigno_module_update_8026() {
  $config_path = drupal_get_path('module', 'opigno_module') . '/config/optional';
  $storage = new FileStorage($config_path);
  $config_storage = \Drupal::service('config.storage');
  $data = $storage
    ->read('views.view.opigno_score_modules');
  $config_storage
    ->write('views.view.opigno_score_modules', $data);
}