public static function TranslatorResult::yes

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\Translator

Code

public static function yes() {
  return new static(TRUE);
}