function ConstraintViolationBuilder::disableTranslation
Same name in other branches
- 11.x core/lib/Drupal/Core/Validation/ConstraintViolationBuilder.php \Drupal\Core\Validation\ConstraintViolationBuilder::disableTranslation()
File
-
core/
lib/ Drupal/ Core/ Validation/ ConstraintViolationBuilder.php, line 192
Class
- ConstraintViolationBuilder
- A constraint violation builder for the basic Symfony validator.
Namespace
Drupal\Core\ValidationCode
public function disableTranslation() : static {
$this->translationDomain = FALSE;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.