Log in
Model

ValueType

Magento\GoogleAdwords\Model\Config\Source\ValueType

What it does

This class provides configuration options for Google AdWords conversion value types in Magento's admin panel.

Developers use this as a source model in system.xml to display a dropdown with two options: Dynamic (order value changes based on actual order total) or Constant (fixed conversion value).

It implements ArrayInterface to populate admin configuration fields with predefined value/label pairs.

Public Methods

  • toOptionArray()