function CheckpointStorage::getSubscribedEvents
File
- 
              core/
lib/ Drupal/ Core/ Config/ Checkpoint/ CheckpointStorage.php, line 456  
Class
- CheckpointStorage
 - Provides a config storage that can make checkpoints.
 
Namespace
Drupal\Core\Config\CheckpointCode
public static function getSubscribedEvents() : array {
  $events[ConfigEvents::SAVE][] = 'onConfigSaveAndDelete';
  $events[ConfigEvents::DELETE][] = 'onConfigSaveAndDelete';
  $events[ConfigEvents::RENAME][] = 'onConfigRename';
  $events[ConfigCollectionEvents::SAVE_IN_COLLECTION][] = 'onConfigSaveAndDelete';
  $events[ConfigCollectionEvents::DELETE_IN_COLLECTION][] = 'onConfigSaveAndDelete';
  $events[ConfigCollectionEvents::RENAME_IN_COLLECTION][] = 'onConfigRename';
  return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.