public static function FlowExport::batchFinished in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Controller/FlowExport.php \Drupal\cms_content_sync\Controller\FlowExport::batchFinished()
- 2.0.x src/Controller/FlowExport.php \Drupal\cms_content_sync\Controller\FlowExport::batchFinished()
Batch export finished callback.
Parameters
$success:
$results:
$operations:
File
- src/
Controller/ FlowExport.php, line 89
Class
- FlowExport
- Push changes controller.
Namespace
Drupal\cms_content_sync\ControllerCode
public static function batchFinished($success, $results, $operations) {
if ($success) {
$message = t('Flow has been exported.');
}
else {
$message = t('Flow export failed.');
}
\Drupal::messenger()
->addMessage($message);
}