function opigno_module_update_8030 in Opigno module 8
Update view: 'Module list'.
File
- ./
opigno_module.install, line 1471 - Opigno module app install/update functionality.
Code
function opigno_module_update_8030() {
$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.module_list');
$config_storage
->write('views.view.module_list', $data);
}