public static function TranslatorResult::yes in Translation Management Tool 8
Returns the object with TRUE.
Return value
static This returns the instance of the object with desired values.
File
- src/
Translator/ TranslatorResult.php, line 80
Class
- TranslatorResult
- Used by translator to return the boolean result of a check with a reason.
Namespace
Drupal\tmgmt\TranslatorCode
public static function yes() {
return new static(TRUE);
}