Log in
Model

SdkButtonLayout

Magento\PaymentServicesPaypal\Model\Adminhtml\Source\SdkButtonLayout

What it does

This class provides configuration options for PayPal SDK button layout orientations in the Magento admin panel.

Developers use this as a source model in system.xml configuration to allow administrators to choose between vertical or horizontal button layouts for PayPal payment buttons displayed on the storefront.

Public Methods

  • toOptionArray()