Controller/Admin/DeliverySetMain.php
public function render()
    {
        $template = parent::render();

        $deliverySetId = $this->getEditObjectId();
        if ($deliverySetId != "-1" && isset($deliverySetId)) {
            /** @var \OxidEsales\PayPalModule\Core\Config $config */
            $config = oxNew(\OxidEsales\PayPalModule\Core\Config::class);

            $isPayPalDefaultMobilePayment = ($deliverySetId == $config->getMobileECDefaultShippingId());

            $this->_aViewData['isPayPalDefaultMobilePayment'] = $isPayPalDefaultMobilePayment;
        }

        return $template;
    }
public function render()
    {
        $template = parent::render();

        $deliverySetId = $this->getEditObjectId();
        if ($deliverySetId != "-1" && isset($deliverySetId)) {
            /** @var \OxidEsales\PayPalModule\Core\Config $config */
            $config = oxNew(\OxidEsales\PayPalModule\Core\Config::class);

            $isPayPalDefaultMobilePayment = ($deliverySetId == $config->getMobileECDefaultShippingId());

            $this->_aViewData['isPayPalDefaultMobilePayment'] = $isPayPalDefaultMobilePayment;
        }

        return $template;
    }
public function render ( ) { $ template = parent :: render ( ) ; $ deliverySetId = $ this -> getEditObjectId ( ) ; if ( $ deliverySetId != "-1" && isset ( $ deliverySetId ) ) { /** @var \OxidEsales\PayPalModule\Core\Config $config */ $ config = oxNew ( \ OxidEsales \ PayPalModule \ Core \ Config :: class ) ; $ isPayPalDefaultMobilePayment = ( $ deliverySetId == $ config -> getMobileECDefaultShippingId ( ) ) ; $ this -> _aViewData [ 'isPayPalDefaultMobilePayment' ] = $ isPayPalDefaultMobilePayment ; } return $ template ; }
Add default PayPal mobile payment.

@return string
Add default PayPal mobile payment .