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