You are here

public function CampaignMonitor::resetErrors in Campaign Monitor 8

Resets the internal error array to an empty array.

File

src/CampaignMonitor.php, line 241
Implementation of the CampaignMonitor class, which is a wrapper class for Campaign Monitor v3 API. It's implemented as a Singleton class and instances are created using the account variables and the static function getConnector(). An example:.

Class

CampaignMonitor

Namespace

Drupal\campaignmonitor

Code

public function resetErrors() {
  $this->errors = [];
}