Log in
Model

SdkButtonShape

Magento\PaymentServicesPaypal\Model\Adminhtml\Source\SdkButtonShape

What it does

This class provides configuration options for PayPal button shapes in the Magento admin panel.

Developers use this source model to populate dropdown/select fields in system configuration, allowing store administrators to choose between rectangular or pill-shaped PayPal buttons for their checkout.

Public Methods

  • toOptionArray()