Log in
Model

CustomerMetadataManagement

Magento\Customer\Model\Metadata\CustomerMetadataManagement

What it does

This class manages metadata operations for customer custom attributes, specifically determining if attributes can be used in admin grid searches and filters.

Developers use this when working with customer attribute configurations in the admin panel, particularly when adding custom attributes that need to be searchable or filterable in customer grids.

Public Methods

  • canBeSearchableInGrid()
  • canBeFilterableInGrid()