You are here

public function ComponentFormBase::setGenerateTask in Module Builder 8.3

Sets the generate task.

Parameters

\DrupalCodeBuilder\Task\Generate $generate_task:

1 call to ComponentFormBase::setGenerateTask()
ComponentFormBase::setEntity in src/Form/ComponentFormBase.php
Sets the form entity.

File

src/Form/ComponentFormBase.php, line 94

Class

ComponentFormBase
Base class for Module Builder component forms.

Namespace

Drupal\module_builder\Form

Code

public function setGenerateTask(Generate $generate_task) {
  $this->codeBuilderTaskHandlerGenerate = $generate_task;
}