You are here

public function DownloadCountSettingsForm::downloadCountClearSubmit in Download Count 8

Implements submit callback for download count clear.

File

src/Form/DownloadCountSettingsForm.php, line 224

Class

DownloadCountSettingsForm
Configure download count settings.

Namespace

Drupal\download_count\Form

Code

public function downloadCountClearSubmit(array &$form, FormStateInterface $form_state) {
  $form_state
    ->setRedirect('download_count.clear');
}