Log in
Interface

ElementInterface

Magento\Config\Model\Config\Structure\ElementInterface

What it does

This interface defines the contract for configuration structure elements in Magento 2's system configuration.

Developers use this when working with admin configuration sections, groups, and fields to retrieve IDs, labels, visibility status, and other attributes.

It provides methods to set and get element data while supporting scope-based configuration management.

Public Methods

  • setData()
  • getData()
  • getId()
  • getLabel()
  • isVisible()
  • getAttribute()