Interface

ConfigInterface

Magento\MediaGalleryUiApi\Api\ConfigInterface

What it does

This interface defines the contract for checking Media Gallery UI configuration settings in Magento 2.

Developers use this to determine if the enhanced grid-based UI for the Media Gallery is enabled in the system configuration before rendering or interacting with media gallery features.

It provides a consistent way to check feature availability across the application.

Public Methods

  • isEnabled()