You are here

function opigno_calendar_update_8006 in Opigno calendar 8

Added title for calendar page to improve accessibility.

File

./opigno_calendar.install, line 131
Install, update and uninstall functions for the Opigno Calendar module.

Code

function opigno_calendar_update_8006() {
  $config_path = drupal_get_path('module', 'opigno_calendar') . '/config/install';
  $storage = new FileStorage($config_path);
  $config_storage = \Drupal::service('config.storage');
  $data = $storage
    ->read('views.view.opigno_calendar');
  $config_storage
    ->write('views.view.opigno_calendar', $data);
}