Model
Text
Magento\Customer\Model\Metadata\Form\Text
What it does
This class handles text input form fields for customer attributes in Magento 2.
Developers use it to extract, validate, and process text-based customer data from forms, including validation rules like required fields, minimum/maximum length constraints, and input filtering.
It's automatically invoked when working with text-type customer attributes through the metadata form system.
Public Methods
- extractValue()
- validateValue()
- compactValue()
- restoreValue()
- outputValue()