Log in
Helper

View

Magento\Customer\Helper\View

What it does

This helper class generates formatted customer names for display purposes in the Magento storefront and admin panel.

It constructs the full customer name by concatenating prefix, first name, middle name, last name, and suffix based on their visibility settings in customer attributes.

Developers use this when they need to display a customer's complete formatted name consistently throughout the application.

Public Methods

  • getCustomerName()