public function__construct(DataDefinitionInterface $definition, $name = NULL, ?TypedDataInterface $parent = NULL) {
parent::__construct($definition, $name, $parent);
if ($definition->getSetting('text source') === NULL) {
thrownew\InvalidArgumentException("The definition's 'text source' key has to specify the name of the text property to be processed.");
}
}