} $content['next_steps'
] =
[ '#theme' => 'item_list',
'#items' =>
$links,
'#title' =>
t('Next steps'
),
];
} // If a batch is running, let it run.
elseif ($request->query->
has('batch'
)) { $content =
_batch_page($request);
// If _batch_page() returns a response object (likely a JsonResponse for
// JavaScript-based batch processing), send it immediately.
if ($content instanceof Response
) { $content->
send();
exit;
} } else { if (!
$request->
getSession()->
has('authorize_operation'
) || !
$request->
getSession()->
has('authorize_filetransfer_info'
)) { $content =
['#markup' =>
t('It appears you have reached this page in error.'
)];
}