function TypedDataManager::setValidationConstraintManager
Sets the validation constraint manager.
The validation constraint manager is used to instantiate validation constraint plugins.
Parameters
\Drupal\Core\Validation\ConstraintManager $constraintManager: The constraint manager to set.
Overrides TypedDataManagerInterface::setValidationConstraintManager
File
-
core/
lib/ Drupal/ Core/ TypedData/ TypedDataManager.php, line 240
Class
- TypedDataManager
- Manages data type plugins.
Namespace
Drupal\Core\TypedDataCode
public function setValidationConstraintManager(ConstraintManager $constraintManager) {
$this->constraintManager = $constraintManager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.