You are here

public function NameFormatForm::__construct in Name Field 8

Constructs a new NameListFormatForm object.

Parameters

\Drupal\name\NameFormatParser $parser: The name format parser.

File

src/Form/NameFormatForm.php, line 38

Class

NameFormatForm
Provides a base form controller for date formats.

Namespace

Drupal\name\Form

Code

public function __construct(NameFormatParser $parser) {
  $this->parser = $parser;
}