Helper/Data.php
public function getPasscode()
    {
        $websiteId = (int) $this->_request->getParam('website', false);

        $scope = 'default';
        $scopeId = '0';
        if ($websiteId) {
            $scope = 'website';
            $scopeId = $websiteId;
        }

        $passcode = $this->getConfigValue(
            \Dotdigitalgroup\Email\Helper\Config::XML_PATH_CONNECTOR_DYNAMIC_CONTENT_PASSCODE,
            $scope,
            $scopeId
        );

        return $passcode;
    }
public function getPasscode()
    {
        $websiteId = (int) $this->_request->getParam('website', false);

        $scope = 'default';
        $scopeId = '0';
        if ($websiteId) {
            $scope = 'website';
            $scopeId = $websiteId;
        }

        $passcode = $this->getConfigValue(
            \Dotdigitalgroup\Email\Helper\Config::XML_PATH_CONNECTOR_DYNAMIC_CONTENT_PASSCODE,
            $scope,
            $scopeId
        );

        return $passcode;
    }
public function getPasscode ( ) { $ websiteId = ( int ) $ this -> _request -> getParam ( 'website' , false ) ; $ scope = 'default' ; $ scopeId = '0' ; if ( $ websiteId ) { $ scope = 'website' ; $ scopeId = $ websiteId ; } $ passcode = $ this -> getConfigValue ( \ Dotdigitalgroup \ Email \ Helper \ Config :: XML_PATH_CONNECTOR_DYNAMIC_CONTENT_PASSCODE , $ scope , $ scopeId ) ; return $ passcode ; }
Get passcode from config.

@return string
Get passcode from config .