You are here

opigno_calendar.install in Opigno calendar 3.x

Same filename and directory in other branches
  1. 8 opigno_calendar.install

Install, update and uninstall functions for the Opigno Calendar module.

File

opigno_calendar.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the Opigno Calendar module.
 */

/**
 * Changed calendar for alpha4.
 */
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',
    ]);
  }
}

Functions

Namesort descending Description
opigno_calendar_update_9001 Changed calendar for alpha4.