public function miniorange_2faController::openModalForm in Google Authenticator / 2 Factor Authentication - 2FA 8
Same name and namespace in other branches
- 8.2 src/Controller/miniorange_2faController.php \Drupal\miniorange_2fa\Controller\miniorange_2faController::openModalForm()
1 string reference to 'miniorange_2faController::openModalForm'
File
- src/
Controller/ miniorange_2faController.php, line 37
Class
Namespace
Drupal\miniorange_2fa\ControllerCode
public function openModalForm() {
$response = new AjaxResponse();
$modal_form = $this->formBuilder
->getForm('\\Drupal\\miniorange_2fa\\Form\\miniorange_2fa_RemoveLicense');
$response
->addCommand(new OpenModalDialogCommand('Remove Account', $modal_form, [
'width' => '800',
]));
return $response;
}