TypedDataManagerInterface::setValidator

public TypedDataManagerInterface::setValidator(ValidatorInterface $validator)

Sets the validator for validating typed data.

Parameters

\Symfony\Component\Validator\Validator\ValidatorInterface $validator: The validator object to set.

File

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

Class

TypedDataManagerInterface
Defines an interface for typed data manager.

Namespace

Drupal\Core\TypedData

Code

public function setValidator(ValidatorInterface $validator);
doc_Drupal
2016-10-29 09:50:13
Comments
Leave a Comment

Please login to continue.