Log in
Model

Multiline

Magento\Customer\Model\Metadata\Form\Multiline

What it does

This class handles the processing and validation of multiline customer attributes in Magento 2 forms, such as street addresses.

Developers use this when working with customer attributes that require multiple input lines, ensuring proper extraction from requests, validation according to configured line counts, and formatting for different output contexts (HTML, text, arrays).

Public Methods

  • extractValue()
  • validateValue()
  • compactValue()
  • restoreValue()
  • outputValue()