function opigno_notification_update_8002 in Opigno notifications 8
Update views: 'Opigno notifications'.
File
- ./
opigno_notification.install, line 31 - Opigno notification app install/update functionality.
Code
function opigno_notification_update_8002() {
$config_path = drupal_get_path('module', 'opigno_notification') . '/config/optional';
$storage = new FileStorage($config_path);
$config_storage = \Drupal::service('config.storage');
$data = $storage
->read('views.view.opigno_notifications');
$config_storage
->write('views.view.opigno_notifications', $data);
}