public TypedDataManager::setValidationConstraintManager(ConstraintManager $constraintManager)
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 227
Class
- TypedDataManager
- Manages data type plugins.
Namespace
Drupal\Core\TypedData
Code
public function setValidationConstraintManager(ConstraintManager $constraintManager) { $this->constraintManager = $constraintManager; }
Please login to continue.