summaryrefslogtreecommitdiffstats
path: root/core/authorize.php
diff options
context:
space:
mode:
authorwebchick2014-03-31 17:26:19 (GMT)
committerwebchick2014-03-31 17:26:19 (GMT)
commit7a91c2e8ed44533c7eeb9da8789c4a97efd335a2 (patch)
treefa6ca8b923db73877dc83aad34148ad8ffd9c32b /core/authorize.php
parent204ecf18cd420e277b0f1034134b63801c613bf1 (diff)
Issue #2121175 by Codenator, tim.plunkett, cosmicdreams, jayeshanandani, grom358, ianthomas_uk, Xano: Remove usage of drupal_get_form().
Diffstat (limited to 'core/authorize.php')
-rw-r--r--core/authorize.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/authorize.php b/core/authorize.php
index 2ddd7d6..97fbe24 100644
--- a/core/authorize.php
+++ b/core/authorize.php
@@ -139,7 +139,7 @@ if (authorize_access_allowed()) {
}
elseif (!$batch = batch_get()) {
// We have a batch to process, show the filetransfer form.
- $elements = drupal_get_form('authorize_filetransfer_form');
+ $elements = \Drupal::formBuilder()->getForm('authorize_filetransfer_form');
$output = drupal_render($elements);
}
}