Issue #3412389 by pfrenssen: Document that hook_mail_alter passes a langcode instead of a language object
parent
0f64637bee
commit
c4ae1976de
|
@ -2042,9 +2042,8 @@ function hook_condition_info_alter(array &$definitions) {
|
||||||
* An array of optional parameters supplied by the caller of
|
* An array of optional parameters supplied by the caller of
|
||||||
* MailManagerInterface->mail() that is used to build the message before
|
* MailManagerInterface->mail() that is used to build the message before
|
||||||
* hook_mail_alter() is invoked.
|
* hook_mail_alter() is invoked.
|
||||||
* - 'language':
|
* - 'langcode':
|
||||||
* The language object used to build the message before hook_mail_alter()
|
* The langcode used to build the message before invoking hook_mail_alter().
|
||||||
* is invoked.
|
|
||||||
* - 'send':
|
* - 'send':
|
||||||
* Set to FALSE to abort sending this email message.
|
* Set to FALSE to abort sending this email message.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue