public function CampaignMonitorAdminForm::submitFormClearCache in Campaign Monitor 8.2
The submit handler for the clearing the cache.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: An associative array containing the current state of the form.
File
- src/
Form/ CampaignMonitorAdminForm.php, line 201
Class
- CampaignMonitorAdminForm
- Configure campaignmonitor settings for this site.
Namespace
Drupal\campaignmonitor\FormCode
public function submitFormClearCache(array &$form, FormStateInterface $form_state) {
$this->campaignMonitorManager
->clearCache();
}