12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Contact\Model;
- /**
- * Contact module configuration
- *
- * @api
- * @since 100.2.0
- */
- interface ConfigInterface
- {
- /**
- * Recipient email config path
- */
- const XML_PATH_EMAIL_RECIPIENT = 'contact/email/recipient_email';
- /**
- * Sender email config path
- */
- const XML_PATH_EMAIL_SENDER = 'contact/email/sender_email_identity';
- /**
- * Email template config path
- */
- const XML_PATH_EMAIL_TEMPLATE = 'contact/email/email_template';
- /**
- * Enabled config path
- */
- const XML_PATH_ENABLED = 'contact/contact/enabled';
- /**
- * Check if contacts module is enabled
- *
- * @return bool
- * @since 100.2.0
- */
- public function isEnabled();
- /**
- * Return email template identifier
- *
- * @return string
- * @since 100.2.0
- */
- public function emailTemplate();
- /**
- * Return email sender address
- *
- * @return string
- * @since 100.2.0
- */
- public function emailSender();
- /**
- * Return email recipient address
- *
- * @return string
- * @since 100.2.0
- */
- public function emailRecipient();
- }
|