public function EmailVerifyBatch::checkAll in Email Verify 8.2
File
- src/
EmailVerifyBatch.php, line 9
Class
Namespace
Drupal\email_verifyCode
public function checkAll() {
// Initialize batch (to set title).
//$batch = array(
// 'title' => t('Checking email address'),
// 'operations' => array(),
//);
//batch_set($batch);
// Start the batch and check the email address.
$batch = array(
'title' => t('Checking email address'),
// 'operations' => array(
// array(
// array(
// EmailVerifyManager::class, 'checkAllBatch', []
// ),
// ),
// ),
'finished' => [
EmailVerifyManager::class,
'finishBatch',
],
);
$batch['operations'][] = array(
array(
EmailVerifyManager::class,
'checkAllBatch',
),
array(),
);
//$batch['operations'][] = array(array(get_class($this), 'processBatch'), array($this));
batch_set($batch);
}