I need to take control over and change the flash notification a user gets when they register, but administrator approval is required.
I want to alter this...
"Thank you for applying for an account. Your account is currently pending approval by the site administrator. In the meantime, a welcome message with further instructions has been sent to your email address"
It states...
'Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved.'
I'm trying to figure out what the Drupal 8 way of doing this is.
Should I be trying to "alter" the message with a hook?
Should I be overriding a service? (though from my understanding this is not service).
Should I be extending this?
Or is there some other best practice way of overriding this?
I'm learning Drupal 8. So I'm not entirely sure the "right" way to handle this particular case.