function opigno_learning_path_update_8022 in Opigno Learning path 8
Create Group Members Table view.
File
- ./
opigno_learning_path.install, line 633 - Install, update and uninstall functions for the module.
Code
function opigno_learning_path_update_8022() {
$config_path = drupal_get_path('module', 'opigno_learning_path') . '/config/install';
$storage = new FileStorage($config_path);
$config_storage = \Drupal::service('config.storage');
$configs = [
'views.view.opigno_group_members_table',
];
foreach ($configs as $item) {
$data = $storage
->read($item);
$config_storage
->write($item, $data);
}
}