public function TranslatorInterface::getSetting in Translation Management Tool 8
Retrieves a setting value from the translator settings.
Pulls the default values (if defined) from the plugin controller.
Parameters
string|array $name: The name of the setting, an array with multiple keys for nested settings.
Return value
string The setting value or $default if the setting value is not set. Returns NULL if the setting does not exist at all.
1 method overrides TranslatorInterface::getSetting()
- Translator::getSetting in src/
Entity/ Translator.php - Retrieves a setting value from the translator settings.
File
- src/
TranslatorInterface.php, line 48
Class
- TranslatorInterface
- Interface for the tmgmt_translator entity.
Namespace
Drupal\tmgmtCode
public function getSetting($name);