function slick_update_8207 in Slick Carousel 8.2
Added new options provided by Accessible Slick library.
File
- ./
slick.install, line 110 - Installation actions for Slick.
Code
function slick_update_8207() {
$config = \Drupal::configFactory()
->getEditable('slick.optionset.default');
$config
->set('options.settings.regionLabel', 'carousel');
$config
->set('options.settings.useGroupRole', TRUE);
$config
->set('options.settings.instructionsText', '');
$config
->set('options.settings.useAutoplayToggleButton', TRUE);
$config
->set('options.settings.pauseIcon', 'slick-pause-icon');
$config
->set('options.settings.playIcon', 'slick-play-icon');
$config
->set('options.settings.arrowsPlacement', '');
$config
->save(TRUE);
}