You are here

public function MaestroEngineTaskInterface::getTaskEditForm in Maestro 8.2

Same name and namespace in other branches
  1. 3.x src/MaestroEngineTaskInterface.php \Drupal\maestro\MaestroEngineTaskInterface::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

14 methods override MaestroEngineTaskInterface::getTaskEditForm()
MaestroAndTask::getTaskEditForm in src/Plugin/EngineTasks/MaestroAndTask.php
Method to allow a task to add their own fields to the task edit form.
MaestroBatchFunctionTask::getTaskEditForm in src/Plugin/EngineTasks/MaestroBatchFunctionTask.php
Method to allow a task to add their own fields to the task edit form.
MaestroContentTypeTask::getTaskEditForm in src/Plugin/EngineTasks/MaestroContentTypeTask.php
Method to allow a task to add their own fields to the task edit form.
MaestroEndTask::getTaskEditForm in src/Plugin/EngineTasks/MaestroEndTask.php
Method to allow a task to add their own fields to the task edit form.
MaestroIfTask::getTaskEditForm in src/Plugin/EngineTasks/MaestroIfTask.php
Method to allow a task to add their own fields to the task edit form.

... See full list

File

src/MaestroEngineTaskInterface.php, line 68

Class

MaestroEngineTaskInterface
The Maestro Engine Task Interface.

Namespace

Drupal\maestro

Code

public function getTaskEditForm(array $task, $templateMachineName);