You are here

protected property NameFormatter::$settings in Name Field 8

Settings for the formatter.

Values include:

  • sep1: First defined separator.
  • sep2: Second defined separator.
  • sep3: Third defined separator.
  • markup: To markup the individual components.

Type: array

File

src/NameFormatter.php, line 72

Class

NameFormatter
Primary name formatter for an array of name components.

Namespace

Drupal\name

Code

protected $settings = [
  'sep1' => ' ',
  'sep2' => ', ',
  'sep3' => '',
  'markup' => 'none',
];