Messing with the global user in Drupal 7
There are times when you need to run some code as a specific user. You might want to send an email and the content is subject to the receiving users’ permissions on the site. Sometimes you might need to run some code as user 1 and not the logged-in u...
Apr 15, 20175 min read76


