resend_register_mail-1.0.0/resend_register_mail.module
resend_register_mail.module
<?php
/**
* @file
* Hooks implementation for the Resend registration / welcome email module.
*/
use Drupal\Core\Hook\Attribute\LegacyHook;
use Drupal\resend_register_mail\Hook\FormHooks;
use Drupal\Core\Form\FormStateInterface;
/**
* Implements hook_form_BASE_FORM_ID_alter().
*/
#[LegacyHook]
function resend_register_mail_form_user_form_alter(&$form, FormStateInterface $form_state, $form_id): void {
\Drupal::service(FormHooks::class)->resendRegisterMailFormAlter($form, $form_state, $form_id);
}
