You are here

public function TranslatorInterface::setSetting in Translation Management Tool 8

Sets a definition setting.

Parameters

string|array $setting_name: The definition setting to set.

mixed $value: The value to set.

Return value

static The object itself for chaining.

1 method overrides TranslatorInterface::setSetting()
Translator::setSetting in src/Entity/Translator.php
Sets a definition setting.

File

src/TranslatorInterface.php, line 61

Class

TranslatorInterface
Interface for the tmgmt_translator entity.

Namespace

Drupal\tmgmt

Code

public function setSetting($setting_name, $value);