function demo_real_estate_finished in Styled Google Map 8.2
Parameters
$success:
$results:
$operations:
2 string references to 'demo_real_estate_finished'
- styled_google_map_data_install in modules/
data/ styled_google_map_data.install - Implements hook_install().
- styled_google_map_data_uninstall in modules/
data/ styled_google_map_data.install
File
- modules/
data/ demo.batch.inc, line 96
Code
function demo_real_estate_finished($success, $results, $operations) {
if ($success) {
\Drupal::messenger()
->addMessage(t('Import was successful: imported @num', [
'@num' => count($results['created']),
]));
}
else {
\Drupal::messenger()
->addMessage(t('Import failed'));
}
}