public function __construct(array $errors) { $this->errors = $errors; $this->setMessageTemplate('ContentType FieldDefinitions did not validate'); parent::__construct($this->getBaseTranslation()); }