.. include:: /Includes.rst.txt createValidator() ''''''''''''''''' Create a validator for the element. Signature:: public function createValidator(string $validatorIdentifier, array $options = []);