function _simplenews_batch_dispatcher in Simplenews 8
Same name and namespace in other branches
- 8.2 simplenews.module \_simplenews_batch_dispatcher()
- 3.x simplenews.module \_simplenews_batch_dispatcher()
Batch callback to dispatch batch operations to a service.
1 string reference to '_simplenews_batch_dispatcher'
- Mailer::attemptImmediateSend in src/
Mail/ Mailer.php - Send mail spool immediatly if cron should not be used.
File
- ./
simplenews.module, line 1134 - Simplenews node handling, sent email, newsletter block and general hooks
Code
function _simplenews_batch_dispatcher() {
$args = func_get_args();
list($service, $method) = explode(':', array_shift($args));
call_user_func_array(array(
\Drupal::service($service),
$method,
), $args);
}