ConfigInterface
Magento\Contact\Model\ConfigInterface
What it does
This interface defines the contract for accessing Contact module configuration settings in Magento 2.
Developers use this to check if the contact form is enabled, retrieve email template identifiers, and get sender/recipient email addresses for contact form submissions.
It provides a standardized way to access contact-related store configuration values without directly querying the config system.
Public Methods
- isEnabled()
- emailTemplate()
- emailSender()
- emailRecipient()