EntityUntranslatableFieldsConstraint::$defaultTranslationMessage
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityUntranslatableFieldsConstraint::defaultTranslationMessage
- 8.9.x core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityUntranslatableFieldsConstraint::defaultTranslationMessage
- 10 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityUntranslatableFieldsConstraint::defaultTranslationMessage
The message when updating a field but not the original language.
Type: string
File
-
core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ EntityUntranslatableFieldsConstraint.php, line 31
Class
- EntityUntranslatableFieldsConstraint
- Validation constraint for the entity changed timestamp.
Namespace
Drupal\Core\Entity\Plugin\Validation\ConstraintCode
public $defaultTranslationMessage = 'Non-translatable fields can only be changed when updating the original language.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.