You are here

public function NameListFormatForm::__construct in Name Field 8

Constructs a new NameListFormatForm object.

Parameters

\Drupal\name\NameFormatterInterface $formatter: The name formatter.

File

src/Form/NameListFormatForm.php, line 31

Class

NameListFormatForm
Provides a form controller for name list formats.

Namespace

Drupal\name\Form

Code

public function __construct(NameFormatterInterface $formatter) {
  $this->formatter = $formatter;
}