context = $context; $this->reviewAssignment = $reviewAssignment; } /** * Override the setData method to add the one-click access * URL for the reviewer */ public function setData(?string $locale = null): void { parent::setData($locale); $this->setOneClickAccessUrl($this->context, $this->reviewAssignment); // See pkp/pkp-lib#9111 $this->addData(['lostPasswordUrl' => $this->viewData[ContextEmailVariable::PASSWORD_LOST_URL]]); } }