Log in
Model

SdkButtonColor

Magento\PaymentServicesPaypal\Model\Adminhtml\Source\SdkButtonColor

What it does

This class provides color options for PayPal SDK button styling in the Magento admin panel.

Developers use this as a source model for system configuration dropdown fields, allowing merchants to select from five predefined button colors: blue, gold, silver, white, and black.

Public Methods

  • toOptionArray()