function flexslider_update_8001 in Flex Slider 8.2
Add styles to the default configuration for flexslider module.
File
- ./
flexslider.install, line 67 - Installation actions for FlexSlider.
Code
function flexslider_update_8001() {
$config_factory = \Drupal::configFactory();
$config = $config_factory
->getEditable('flexslider.settings');
$config
->set('flexslider_css', TRUE);
$config
->set('flexslider_module_css', TRUE);
$config
->save(TRUE);
}