MetadataManagementInterface
Magento\Customer\Api\MetadataManagementInterface
What it does
This interface defines methods for managing customer attribute metadata in the Magento 2 admin grid.
Developers use this to determine whether a customer attribute can be searched or filtered in the admin customer grid, which is essential when working with custom customer attributes or customizing grid functionality.
It provides standardized checks before enabling search or filter capabilities on attributes.
Public Methods
- canBeSearchableInGrid()
- canBeFilterableInGrid()