You are here

function slick_update_8201 in Slick Carousel 8.2

Added pauseOnFocus option.

File

./slick.install, line 50
Installation actions for Slick.

Code

function slick_update_8201() {
  $config = \Drupal::configFactory()
    ->getEditable('slick.optionset.default');
  $config
    ->set('options.settings.pauseOnFocus', TRUE);
  $config
    ->save(TRUE);
}