As you can understand from name itself it’s basically used to Alter an email created with drupal mail in D7/ MailManagerInterface->mail() in D8. hook_mail_alter() allows modification of email messages which includes adding and/or changing message text, message fields, and message headers.
Email sent rather than drupal_mail() will not call hook_mail_alter(). All core modules use drupal_mail() & always a recommendation to use drupal_mail but it’s not mandatory.
Syntax:... - News from Planet Drupal
Drupal 8 core provides for solid REST capabilities out-of-the-box, which is great for integrating with a web service or allowing a third-party application to consume content. However, the REST output provided by Drupal core is in a certain structure that... - News from Planet Drupal
Tomorrow I'll be giving a workshop... - News from Planet Drupal
We need you!
Want to give back to the Drupal Community without writing a line of code? Volunteer to help out at MidCamp 2017. We’re looking for people to help with all kinds of tasks including:
For setup, we need help making sure registration is ready to roll, and getting T-shirts ready to move.
Do you really need composer in production?
This is the second in a series of articles, in which I'd like to share the most common pitfalls we've seen, so that you can avoid making the same mistakes when building your sites!
myDropWizard offers support and... - News from Planet Drupal
Have you ever needed to persist some irregular data relating with a user account? Things like user preferences or settings that are kinda configuration but not really? Storing them as configuration means having to export them, and that’s no option. Storing them in State is an option, but not a good one as you’d have to maintain a State value map... - News from Planet Drupal
Drupal Modules: The One Percent: Drupal Modules: The One Percent — Alert to Administrator (video tutorial)Drupal Modules: The One Percent — Alert to Administrator (video tutorial)
Direct .mp3 file download.
A quick live podcast featuring a reaction from Mike and Ryan about Dries' Drupal 9 Blog Post. Recorded on YouTube Live, and this audio version is reposted to our podcast channel for your convenience.