Log in
Model

Language

Magento\GoogleAdwords\Model\Config\Source\Language

What it does

This class provides a list of available Google AdWords languages for configuration dropdowns in the Magento admin panel.

It formats language options with both native and English names along with language codes (e.g., 'Français / French (fr)'), making it easy for store administrators to select the appropriate language for their Google AdWords conversion tracking integration.

Public Methods

  • toOptionArray()