Edc.php 551 B

12345678910111213141516171819202122
  1. <?php
  2. namespace Dotdigitalgroup\Email\Block;
  3. class Edc extends \Magento\Framework\View\Element\Template
  4. {
  5. /**
  6. * @param null|string|bool|int|\Magento\Store\Api\Data\StoreInterface $store
  7. *
  8. * @return string|boolean
  9. */
  10. public function getTextForUrl($store)
  11. {
  12. /** @var \Magento\Store\Model\Store $store */
  13. $store = $this->_storeManager->getStore($store);
  14. return $store->getConfig(
  15. \Dotdigitalgroup\Email\Helper\Config::XML_PATH_CONNECTOR_DYNAMIC_CONTENT_LINK_TEXT
  16. );
  17. }
  18. }