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);
Please login to continue.