Log in
Interface

CustomerMetadataInterface

Magento\Customer\Api\CustomerMetadataInterface

What it does

This interface defines constants and contracts for retrieving metadata about customer entity attributes in Magento 2.

Developers use this when they need to programmatically access information about customer fields like attribute types, validation rules, or available options.

It extends MetadataInterface to provide customer-specific metadata retrieval functionality.