Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
What is the most elegant way to send a notification to a specified UID from an anonymous session? I have a webhook (function triggered by server-server request) that need to notify the relevant users about incoming payments from the bank.
What exactly do I need?
Drupal::messenger()->addMessage(t('Send message to selected UID=10.'), 'error', TRUE, $uid=10);
When i am trying to login by webservice api in drupal then it is working fine but when i did more than 5 invalid attempts then after i tried with valid credential then it still allow me to login. I am using restclient.
I’ve been kinda lurking in the background for the last five years, but I’ve reached a point where I need to step out and get some advice on how to get over a hurdle to launching a site. I have been working on different projects for a long time, but with very slow progress. This particular site has grown increasingly important to me. So much so that it has now turned into an urgent situation.