You are here

public function NameFormatterInterface::setSetting in Name Field 8

Sets the value of a setting for the formatter.

Parameters

string $key: The setting name.

mixed $value: The setting value.

Return value

\Drupal\name\NameFormatterInterface The name formatter instance.

1 method overrides NameFormatterInterface::setSetting()
NameFormatter::setSetting in src/NameFormatter.php
Sets the value of a setting for the formatter.

File

src/NameFormatterInterface.php, line 72

Class

NameFormatterInterface
Provides an interface defining a name formatter.

Namespace

Drupal\name

Code

public function setSetting($key, $value);