public function PushNotificationsConfigForm::submitRegenerateCertificateString in Push Notifications 8
Regenerates the APNS random certificate string.
File
- src/
Form/ PushNotificationsConfigForm.php, line 174
Class
- PushNotificationsConfigForm
- Class PushNotificationsConfigForm.
Namespace
Drupal\push_notifications\FormCode
public function submitRegenerateCertificateString(array &$form, FormStateInterface $form_state) {
push_notifications_set_random_certificate_string();
drupal_set_message($this
->t('The names for your APNS certificates were successfully changed. Please rename both certificate files.'));
}