You are here

function opigno_notification_update_8004 in Opigno notifications 8

Update views: 'Opigno notifications'.

File

./opigno_notification.install, line 59
Opigno notification app install/update functionality.

Code

function opigno_notification_update_8004() {
  $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);
}