You are here

protected static function ProcessTestSamplesForm::getCollectTask in Module Builder 8.3

Gets the collect task.

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

Overrides ProcessForm::getCollectTask

1 call to ProcessTestSamplesForm::getCollectTask()
ProcessTestSamplesForm::submitForm in module_builder_devel/src/Form/ProcessTestSamplesForm.php
Form submission handler.

File

module_builder_devel/src/Form/ProcessTestSamplesForm.php, line 30

Class

ProcessTestSamplesForm
Form for updating DCB's test sample analysis data.

Namespace

Drupal\module_builder_devel\Form

Code

protected static function getCollectTask() {
  return \Drupal::service('module_builder_devel.drupal_code_builder.test_samples')
    ->getTask('Testing\\CollectTesting');
}