You are here

function views_timelinejs_update_8302 in Views TimelineJS integration 8.3

Sets the TimelineJS CSS library group to 'theme' for existing sites.

See also

https://www.drupal.org/node/2856403

File

./views_timelinejs.install, line 13
Contains install, uninstall, and update hooks for Views TimelineJS.

Code

function views_timelinejs_update_8302() {
  \Drupal::service('config.factory')
    ->getEditable('views_timelinejs.settings')
    ->set('css_library_group', 'theme')
    ->save();
}