views_timelinejs.install in Views TimelineJS integration 8.3
Same filename and directory in other branches
Contains install, uninstall, and update hooks for Views TimelineJS.
File
views_timelinejs.installView source
<?php
/**
* @file
* Contains install, uninstall, and update hooks for Views TimelineJS.
*/
/**
* Sets the TimelineJS CSS library group to 'theme' for existing sites.
*
* @see https://www.drupal.org/node/2856403
*/
function views_timelinejs_update_8302() {
\Drupal::service('config.factory')
->getEditable('views_timelinejs.settings')
->set('css_library_group', 'theme')
->save();
}
Functions
Name![]() |
Description |
---|---|
views_timelinejs_update_8302 | Sets the TimelineJS CSS library group to 'theme' for existing sites. |