function opigno_calendar_update_9001 in Opigno calendar 3.x
Changed calendar for alpha4.
File
- ./
opigno_calendar.install, line 11 - Install, update and uninstall functions for the Opigno Calendar module.
Code
function opigno_calendar_update_9001() {
_opigno_lms_apply_update('module', 'opigno_calendar', 'config/install', [
'views.view.opigno_calendar',
'core.entity_form_display.opigno_calendar_event.opigno_calendar_event.default',
'core.entity_view_display.opigno_calendar_event.opigno_calendar_event.default',
]);
// Enable simple_gmap module.
if (!\Drupal::moduleHandler()
->moduleExists('simple_gmap')) {
\Drupal::service('module_installer')
->install([
'simple_gmap',
]);
}
}