Log in
Model

ReservedAttributeCheckerAdapter

Magento\Catalog\Model\Product\ReservedAttributeCheckerAdapter

What it does

This adapter class provides a standardized interface for checking if a product attribute code is reserved by Magento's core system.

Developers use this when validating custom attribute creation to ensure they don't use attribute codes that conflict with Magento's built-in attributes like 'sku', 'name', or 'price'.

It wraps the ReservedAttributeList class to maintain backward compatibility while implementing the proper ReservedAttributeCheckerInterface.

Public Methods

  • isReservedAttribute()