Log in
Model

DataProvider

Magento\Catalog\Model\Category\DataProvider

What it does

This class provides data and metadata for the Magento 2 category form in the admin panel.

Developers use it when customizing the category edit form, adding custom attributes, or modifying how category data is displayed and validated in the admin interface.

It handles loading category data, preparing form field configurations, managing scope-specific settings, and processing attribute metadata for rendering.

Public Methods

  • getMeta()
  • prepareMeta()
  • getData()
  • getAttributesMeta()
  • getCurrentCategory()
  • getScopeLabel()
  • getDefaultMetaData()