Log in
Interface

ConfigInterface

Magento\Analytics\Model\ConfigInterface

What it does

This interface defines a contract for retrieving Analytics configuration values in Magento 2.

Developers use implementations of this interface to access analytics-related settings, such as API credentials or feature flags, by providing a configuration key and optional default value.

It provides a standardized way to retrieve analytics configuration across the application.

Public Methods

  • get()