public function StyleDiscovery::reset

Reset the cached definitions.

Overrides StyleDiscoveryInterface::reset

File

paragraphs_collection/src/StyleDiscovery.php, line 331

Class

StyleDiscovery
Provides common helper methods for style discovery. @todo Create documentation for style discovery https://www.drupal.org/node/2837995

Namespace

Drupal\paragraphs_collection

Code

public function reset() {
  $this->stylesCollection = NULL;
  $this->cache
    ->deleteMultiple([
    'paragraphs_collection_style',
    'paragraphs_collection_style_group',
  ]);
}