title = "Registration"; $this->description = "Create a new account"; $this->icon = "user-plus"; } public function getAccountContent() { $settings = $this->getDocument()->getUser()->getConfiguration()->getSettings(); if (!$settings->isRegistrationAllowed()) { return $this->createErrorText( "Registration is not enabled on this website. If you are an administrator, goto /admin/settings, to enable the user registration" ); } return "