You are here

protected static function ProcessForm::getCollectTask in Module Builder 8.3

Gets the collect task.

This exists to allow easy overriding of the task by the MB devel module.

2 calls to ProcessForm::getCollectTask()
ProcessForm::batchOperation in src/Form/ProcessForm.php
Implements callback_batch_operation().
ProcessForm::submitForm in src/Form/ProcessForm.php
Form submission handler.
1 method overrides ProcessForm::getCollectTask()
ProcessTestSamplesForm::getCollectTask in module_builder_devel/src/Form/ProcessTestSamplesForm.php
Gets the collect task.

File

src/Form/ProcessForm.php, line 61

Class

ProcessForm
Form for running the DCB analysis process.

Namespace

Drupal\module_builder\Form

Code

protected static function getCollectTask() {
  return \Drupal::service('module_builder.drupal_code_builder')
    ->getTask('Collect');
}