TypedDataManagerInterface::setValidationConstraintManager

public TypedDataManagerInterface::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.

File

core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php, line 198

Class

TypedDataManagerInterface
Defines an interface for typed data manager.

Namespace

Drupal\Core\TypedData

Code

public function setValidationConstraintManager(ConstraintManager $constraintManager);
doc_Drupal
2016-10-29 09:50:12
Comments
Leave a Comment

Please login to continue.