protected function FileTransferAuthorizeForm::runOperation in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php \Drupal\Core\FileTransfer\Form\FileTransferAuthorizeForm::runOperation()
Runs the operation specified in $_SESSION['authorize_operation'].
Parameters
$filetransfer: The FileTransfer object to use for running the operation.
Return value
\Symfony\Component\HttpFoundation\Response|null The result of running the operation. If this is an instance of \Symfony\Component\HttpFoundation\Response the calling code should use that response for the current page request.
1 call to FileTransferAuthorizeForm::runOperation()
- FileTransferAuthorizeForm::submitForm in core/
lib/ Drupal/ Core/ FileTransfer/ Form/ FileTransferAuthorizeForm.php - Form submission handler.
File
- core/
lib/ Drupal/ Core/ FileTransfer/ Form/ FileTransferAuthorizeForm.php, line 346 - Contains \Drupal\Core\FileTransfer\Form\FileTransferAuthorizeForm.
Class
- FileTransferAuthorizeForm
- Provides the file transfer authorization form.
Namespace
Drupal\Core\FileTransfer\FormCode
protected function runOperation($filetransfer) {
$operation = $_SESSION['authorize_operation'];
unset($_SESSION['authorize_operation']);
require_once $this->root . '/' . $operation['file'];
return call_user_func_array($operation['callback'], array_merge(array(
$filetransfer,
), $operation['arguments']));
}