Model
Config
Magento\MediaContentApi\Model\Config
What it does
This configuration class provides access to the Media Gallery system settings in Magento 2.
Developers use this class to check if the new Media Gallery feature is enabled in the system configuration before executing media gallery-related operations.
It acts as a centralized way to determine feature availability throughout the application.
Public Methods
- isEnabled()