function opigno_class_update_8003 in Opigno class 8
Update view with list of classes and admin menu.
File
- ./
opigno_class.install, line 61 - Install, update and uninstall functions for the Opigno Class module.
Code
function opigno_class_update_8003() {
$config_path = drupal_get_path('module', 'opigno_class') . '/config/optional';
$source = new FileStorage($config_path);
$config_storage = \Drupal::service('config.storage');
$config_storage
->write('views.view.opigno_classes', $source
->read('views.view.opigno_classes'));
}