You are here

function paragraphs_collection_update_8001 in Paragraphs Collection 8

Add default config for enabled styles.

File

./paragraphs_collection.install, line 12
Installation hooks for paragraphs collection module.

Code

function paragraphs_collection_update_8001() {
  \Drupal::configFactory()
    ->getEditable('paragraphs_collection.settings')
    ->set('enabled_styles', [])
    ->save();
}