function thunder_article_update_8001 in Thunder 8.2
Enable thunder_paragraphs.
File
- modules/
thunder_article/ thunder_article.install, line 40 - Thunder Article install hooks.
Code
function thunder_article_update_8001() {
$modules = \Drupal::configFactory()
->getEditable('core.extension')
->get('module');
$modules['thunder_paragraphs'] = 1;
\Drupal::configFactory()
->getEditable('core.extension')
->set('module', $modules)
->save();
}