Verified Commit 23a1308b authored by Dave Long's avatar Dave Long
Browse files

Issue #3412389 by pfrenssen: Document that hook_mail_alter passes a langcode...

Issue #3412389 by pfrenssen: Document that hook_mail_alter passes a langcode instead of a language object

(cherry picked from commit c4ae1976)
parent 30c2899f
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2042,9 +2042,8 @@ function hook_condition_info_alter(array &$definitions) {
 *     An array of optional parameters supplied by the caller of
 *     MailManagerInterface->mail() that is used to build the message before
 *     hook_mail_alter() is invoked.
 *   - 'language':
 *     The language object used to build the message before hook_mail_alter()
 *     is invoked.
 *   - 'langcode':
 *     The langcode used to build the message before invoking hook_mail_alter().
 *   - 'send':
 *     Set to FALSE to abort sending this email message.
 *