Model
ButtonColor
Magento\PaymentServicesPaypal\Model\Adminhtml\Source\ButtonColor
What it does
This class provides color options for PayPal payment buttons in the Magento admin configuration.
Developers use this as a source model in system.xml to populate a dropdown field where merchants can select their preferred PayPal button color (Default, Black, or White) for their store's checkout experience.
Public Methods
- toOptionArray()