function paragraphs_collection_modules_installed($modules) { \Drupal::service('paragraphs_collection.style_discovery') ->reset(); \Drupal::cache('discovery') ->deleteMultiple([ 'paragraphs_collection_grid_layouts', ]); }