Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
credentialsChanged (CustomerInterface $savedCustomer, $origCustomerEmail, $isPasswordChanged=false) | |
passwordReminder (CustomerInterface $customer) | |
passwordResetConfirmation (CustomerInterface $customer) | |
newAccount (CustomerInterface $customer, $type=self::NEW_ACCOUNT_EMAIL_REGISTERED, $backUrl='', $storeId=0, $sendemailStoreId=null) | |
Data Fields | |
const | NEW_ACCOUNT_EMAIL_REGISTERED = 'registered' |
const | NEW_ACCOUNT_EMAIL_REGISTERED_NO_PASSWORD = 'registered_no_password' |
const | NEW_ACCOUNT_EMAIL_CONFIRMATION = 'confirmation' |
const | NEW_ACCOUNT_EMAIL_CONFIRMED = 'confirmed' |
credentialsChanged | ( | CustomerInterface | $savedCustomer, |
$origCustomerEmail, | |||
$isPasswordChanged = false |
|||
) |
Send notification to customer when email and/or password changed
CustomerInterface | $savedCustomer | |
string | $origCustomerEmail | |
bool | $isPasswordChanged |
Implemented in EmailNotification.
newAccount | ( | CustomerInterface | $customer, |
$type = self::NEW_ACCOUNT_EMAIL_REGISTERED , |
|||
$backUrl = '' , |
|||
$storeId = 0 , |
|||
$sendemailStoreId = null |
|||
) |
Send email with new account related information
CustomerInterface | $customer | |
string | $type | |
string | $backUrl | |
string | $storeId | |
string | $sendemailStoreId |
LocalizedException |
Implemented in EmailNotification.
passwordReminder | ( | CustomerInterface | $customer | ) |
Send email with new customer password
CustomerInterface | $customer |
Implemented in EmailNotification.
passwordResetConfirmation | ( | CustomerInterface | $customer | ) |
Send email with reset password confirmation link
CustomerInterface | $customer |
Implemented in EmailNotification.
const NEW_ACCOUNT_EMAIL_CONFIRMATION = 'confirmation' |
Welcome email, when confirmation is enabled
Definition at line 30 of file EmailNotificationInterface.php.
const NEW_ACCOUNT_EMAIL_CONFIRMED = 'confirmed' |
Confirmation email, when account is confirmed
Definition at line 35 of file EmailNotificationInterface.php.
const NEW_ACCOUNT_EMAIL_REGISTERED = 'registered' |
Constants for the type of new account email to be sent
Definition at line 20 of file EmailNotificationInterface.php.
const NEW_ACCOUNT_EMAIL_REGISTERED_NO_PASSWORD = 'registered_no_password' |
Welcome email, when password setting is required
Definition at line 25 of file EmailNotificationInterface.php.