// Rebuild so that routes defined in honeypot.routing.yml become available.
\Drupal::service("router.builder")->rebuild();
// Prompt the user to configure Honeypot.
\Drupal::messenger()->addMessage(t('Honeypot installed successfully. Please <a href=":url">configure Honeypot</a> to protect your forms from spam bots.',[