Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Data Fields
ConfigInterface Interface Reference
Inheritance diagram for ConfigInterface:
Config

Public Member Functions

 isEnabled ()
 
 emailTemplate ()
 
 emailSender ()
 
 emailRecipient ()
 

Data Fields

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'
 

Detailed Description

Contact module configuration

@api

Since
100.2.0

Definition at line 14 of file ConfigInterface.php.

Member Function Documentation

◆ emailRecipient()

emailRecipient ( )

Return email recipient address

Returns
string
Since
100.2.0

Implemented in Config.

◆ emailSender()

emailSender ( )

Return email sender address

Returns
string
Since
100.2.0

Implemented in Config.

◆ emailTemplate()

emailTemplate ( )

Return email template identifier

Returns
string
Since
100.2.0

Implemented in Config.

◆ isEnabled()

isEnabled ( )

Check if contacts module is enabled

Returns
bool
Since
100.2.0

Implemented in Config.

Field Documentation

◆ XML_PATH_EMAIL_RECIPIENT

const XML_PATH_EMAIL_RECIPIENT = 'contact/email/recipient_email'

Recipient email config path

Definition at line 19 of file ConfigInterface.php.

◆ XML_PATH_EMAIL_SENDER

const XML_PATH_EMAIL_SENDER = 'contact/email/sender_email_identity'

Sender email config path

Definition at line 24 of file ConfigInterface.php.

◆ XML_PATH_EMAIL_TEMPLATE

const XML_PATH_EMAIL_TEMPLATE = 'contact/email/email_template'

Email template config path

Definition at line 29 of file ConfigInterface.php.

◆ XML_PATH_ENABLED

const XML_PATH_ENABLED = 'contact/contact/enabled'

Enabled config path

Definition at line 34 of file ConfigInterface.php.


The documentation for this interface was generated from the following file: