Log in
Interface

ElementVisibilityInterface

Magento\Config\Model\Config\Structure\ElementVisibilityInterface

What it does

This interface defines methods to check the visibility status of configuration form elements in the Magento Admin Panel (Stores > Configuration).

Developers use this to determine if a specific configuration field should be hidden from view or disabled (visible but not editable) based on its system.xml path, which is useful for controlling access to configuration options based on business logic or permissions.

Public Methods

  • isDisabled()
  • isHidden()