Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (ScopeConfigInterface $scopeConfig) | |
isEnabled () | |
emailTemplate () | |
emailSender () | |
emailRecipient () | |
Additional Inherited Members | |
![]() | |
const | XML_PATH_EMAIL_RECIPIENT = 'contact/email/recipient_email' |
const | XML_PATH_EMAIL_SENDER = 'contact/email/sender_email_identity' |
const | XML_PATH_EMAIL_TEMPLATE = 'contact/email/email_template' |
const | XML_PATH_ENABLED = 'contact/contact/enabled' |
Contact module configuration
Definition at line 14 of file Config.php.
__construct | ( | ScopeConfigInterface | $scopeConfig | ) |
ScopeConfigInterface | $scopeConfig |
Definition at line 24 of file Config.php.
emailRecipient | ( | ) |
{Return email recipient address
Implements ConfigInterface.
Definition at line 65 of file Config.php.
emailSender | ( | ) |
{Return email sender address
Implements ConfigInterface.
Definition at line 54 of file Config.php.
emailTemplate | ( | ) |
{Return email template identifier
Implements ConfigInterface.
Definition at line 43 of file Config.php.
isEnabled | ( | ) |
{Check if contacts module is enabled
Implements ConfigInterface.
Definition at line 32 of file Config.php.