protected function TranslatorResult::setNo in Translation Management Tool 8
Sets the value success to FALSE and sets the $message accordingly.
Parameters
string $message: This is the value to be saved as message for object.
File
- src/
Translator/ TranslatorResult.php, line 62
Class
- TranslatorResult
- Used by translator to return the boolean result of a check with a reason.
Namespace
Drupal\tmgmt\TranslatorCode
protected function setNo($message) {
$this->success = FALSE;
$this->message = $message;
}