You are here

function opigno_moxtra_update_8014 in Opigno Moxtra 8

Creates create cronjobs.

File

./opigno_moxtra.install, line 343
Install, update and uninstall functions for the Opigno Moxtra module.

Code

function opigno_moxtra_update_8014() {

  // Add new cron configuretions.
  $config_path = drupal_get_path('module', 'opigno_moxtra') . '/config/install';
  $storage = new FileStorage($config_path);
  $config_storage = \Drupal::service('config.storage');
  $data = $storage
    ->read('user.role.collaborative_features');
  $config_storage
    ->write('user.role.collaborative_features', $data);
}