function import_success in Content Import 8.9
To callback after import completion.
1 string reference to 'import_success'
- ContentImport::submitForm in src/
Form/ ContentImport.php - Content Import Form Submission.
File
- ./
contentimport.module, line 211 - Module file for Contentimport.
Code
function import_success() {
$url = Url::fromUri('internal:/admin/content');
$destination = $url
->toString();
$response = new RedirectResponse($destination, 301);
$response
->send();
}