Log in
Model

Config

Magento\Newsletter\Model\Config

What it does

This configuration model provides access to newsletter module settings.

Developers use this class to check if the newsletter functionality is enabled in the system through the isActive() method, which reads the configuration value from the store's settings.

It's typically used before executing newsletter-related operations to ensure the feature is turned on.

Public Methods

  • isActive()