src/DrupalExtension/Context/EmailContext.php
public function afterScenarioNoContactFlood(AfterScenarioScope $scope) {
    $config = $this->getCore()->getEditableConfig('contact.settings');
    $config->setData($this->contactSettings)->save();
  }
public function afterScenarioNoContactFlood(AfterScenarioScope $scope) {
    $config = $this->getCore()->getEditableConfig('contact.settings');
    $config->setData($this->contactSettings)->save();
  }
public function afterScenarioNoContactFlood ( AfterScenarioScope $ scope ) { $ config = $ this -> getCore ( ) -> getEditableConfig ( 'contact.settings' ) ; $ config -> setData ( $ this -> contactSettings ) -> save ( ) ; }
Restore contact form flooding settings.

@AfterScenario @no_contact_flood
Restore contact form flooding settings .