function opigno_module_update_8032 in Opigno module 8
Update view: 'Opigno module results'.
File
- ./
opigno_module.install, line 1499 - Opigno module app install/update functionality.
Code
function opigno_module_update_8032() {
$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_module_results');
$config_storage
->write('views.view.opigno_module_results', $data);
}