public function StyleDiscovery::reset in Paragraphs Collection 8
Reset the cached definitions.
Overrides StyleDiscoveryInterface::reset
File
- 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_collectionCode
public function reset() {
$this->stylesCollection = NULL;
$this->cache
->deleteMultiple([
'paragraphs_collection_style',
'paragraphs_collection_style_group',
]);
}