You are here

public function MaestroAndTask::getTaskEditForm in Maestro 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/EngineTasks/MaestroAndTask.php \Drupal\maestro\Plugin\EngineTasks\MaestroAndTask::getTaskEditForm()

Method to allow a task to add their own fields to the task edit form.

Parameters

array $task: This is the array representation of the task from the configuration entity.

string $templateMachineName: The Maestro template machine name.

Return value

array Array Must return form declaration fields for the task editor

Overrides MaestroEngineTaskInterface::getTaskEditForm

File

src/Plugin/EngineTasks/MaestroAndTask.php, line 126

Class

MaestroAndTask
Maestro And Task Plugin.

Namespace

Drupal\maestro\Plugin\EngineTasks

Code

public function getTaskEditForm(array $task, $templateMachineName) {
  return [];
}