You are here

function opigno_lms_update_9008 in Opigno LMS 3.x

Update module configs.

File

./opigno_lms.install, line 273
Install, update and uninstall functions for the "opigno_lms" installation profile.

Code

function opigno_lms_update_9008() {
  _opigno_lms_apply_update('module', 'opigno_h5p', 'config/optional', [
    'core.entity_view_display.opigno_activity.opigno_h5p.activity',
    'core.entity_view_display.opigno_activity.opigno_h5p.default',
  ]);
  _opigno_lms_apply_update('module', 'opigno_long_answer', 'config/optional', [
    'core.entity_view_display.opigno_activity.opigno_long_answer.default',
  ]);
  _opigno_lms_apply_update('module', 'opigno_scorm_activity', 'config/optional', [
    'core.entity_view_display.opigno_activity.opigno_scorm.default',
  ]);
  _opigno_lms_apply_update('module', 'opigno_tincan_activity', 'config/optional', [
    'core.entity_view_display.opigno_activity.opigno_tincan.default',
  ]);
  _opigno_lms_apply_update('module', 'opigno_module', 'config/optional', [
    'core.entity_view_display.opigno_activity.opigno_slide.default',
  ]);
}