Log in
Model

Boolean

Magento\Eav\Model\Attribute\Data\Boolean

What it does

This class handles boolean attribute data in Magento 2's EAV (Entity-Attribute-Value) system.

It extends the Select data model to provide Yes/No text representations for boolean values (1/0), making it useful when displaying or processing boolean attributes for entities like customers or products.

Developers use this when working with custom boolean attributes that need human-readable output.