Returns whether the value should be treated as translatable.
If the value only consists of a token then treat it as untranslatable.
string $value: The configuration value.
bool TRUE if it is translatable, FALSE otherwise.
protected function isTranslatable($value) {
$translatable = TRUE;
if (preg_match('/^\\[[a-z-_:]+\\]$/', $value)) {
$translatable = FALSE;
}
return $translatable;
}