/** * @param ComponentInterface $source * @param FormState $state * @param $target * @param $property * @throws \Exception */ public function validate(ComponentInterface $source, FormState $state, $target, $property) { $target = $state->getComponentByName($target); //echo $target->getFullId(); }