You are here

class CampaignMonitorLocalBatchController in Campaign Monitor 8

Hierarchy

Expanded class hierarchy of CampaignMonitorLocalBatchController

File

modules/campaignmonitor_local/src/Controller/CampaignMonitorLocalBatchController.php, line 8

Namespace

Drupal\campaignmonitor_local\Controller
View source
class CampaignMonitorLocalBatchController {

  /**
   *
   */
  public function content() {
    $batch = [
      'title' => t('Processing'),
      'operations' => [
        [
          'campaignmonitor_local_batch',
          [
            'subscription_queue',
          ],
        ],
      ],
      'finished' => 'campaignmonitor_local_finished_callback',
      'file' => drupal_get_path('module', 'campaignmonitor_local') . '/campaignmonitor_local.batch.inc',
    ];
    batch_set($batch);
    return batch_process('user');
  }

}

Members