public function installPlugin() { $view = $this->createUpdateOrInstallView('installPlugin', static::INSTALL_NONCE); $view->nonce = Nonce::getNonce(PluginsController::ACTIVATE_NONCE); return $view->render(); }