You are here

public function SettingsForm::setOperation in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/Form/SettingsForm.php \Drupal\opigno_moxtra\Form\SettingsForm::setOperation()

Set operation.

Parameters

array $data: Process data.

File

src/Form/SettingsForm.php, line 291

Class

SettingsForm
Implements the Opigno Moxtra settings form.

Namespace

Drupal\opigno_moxtra\Form

Code

public function setOperation(array $data) {
  $this->batch['operations'][] = [
    [
      $this,
      'processItem',
    ],
    $data,
  ];
}