/**
  * Reacts to config event.
  *
  * @param \Drupal\Core\Config\ConfigCrudEvent $event
  *   The configuration event.
  */
 public function configEventRecorder(ConfigCrudEvent $event)
 {
     $config = $event->getConfig();
     $this->state->set('config_events_test.event', array('event_name' => $event->getName(), 'current_config_data' => $config->get(), 'original_config_data' => $config->getOriginal(), 'raw_config_data' => $config->getRawData()));
 }