I had a situation recently where I needed to delete both a Drupal user account and a CiviCRM contact at the same time. This was to rid SPAM from the system that was made years ago before there was a CAPTCHA in place.
As you may know, Comcast is giving many customers until January 2021 before they start enforcing the 1.2TB on consumer accounts. 1.2TBs is a LOT of data, but if you are streaming high-definition TV, using video calls, downloading large files, communicating with a corporate VPN it can go by very quickly. Here is a good way to just check where you stand.
In Drupal 7 we had the LoginToboggan module, but this is not available for Drupal 8. I needed to replace the "Delete unvalidated users after" x days feature from LoginToboggan so I wrote some quick code that I want to add it in here.
In a module we can create a function that will delete our unvalidated [sic] users after a set number of days.
First, I need to define a timestamp for today (right now).
The last time I wrote a DrupalCon recap, I was in a cafe in Copenhagen. It’s definitely different this time around in my office. However, it wonderful to see the resiliency of the Drupal community that DrupalCon was able to rapidly be turned into a digital event. Even though we are not meeting face to face, we are still making connections.
Yesterday I went to five sessions. I will not go into the details of everything I learned. I will cover some highlights that might be of interest to those in search of great tools on the Internet or wondering what is coming next in Drupal.
I have wanted to start a blog for a long time to share the more interesting finding of the crazy place we call the Internet. It will be more technical than not, but I hope that it is helpful to others when they are on the hunt for things I had to discover. This, along with a random recipe or two, will be our journey.
Time for an adventure.