Log in
Model

Structure

Magento\Config\Model\Config\Structure

What it does

This class manages Magento 2's system configuration structure, providing access to configuration tabs, sections, groups, and fields defined in system.xml files.

Developers use this class to programmatically navigate and retrieve configuration elements, find fields by their structure path or config path, and query fields by specific attributes.

It's essential when building admin configuration interfaces or programmatically accessing system configuration metadata.

Public Methods

  • getTabs()
  • getSectionList()
  • getElement()
  • getElementByConfigPath()
  • getFirstSection()
  • getElementByPathParts()
  • getFieldPathsByAttribute()
  • getFieldPaths()