Log in
Model

Group

Magento\Catalog\Model\Product\Attribute\Group

What it does

This class manages product attribute groups in Magento 2, which organize product attributes into logical sections on the product edit form.

Developers use this class when programmatically checking if a group contains system attributes or when implementing custom logic before deleting an attribute group.

It extends the base EAV attribute group model with catalog-specific validation to prevent deletion of groups containing system attributes.

Public Methods

  • hasSystemAttributes()
  • beforeDelete()