You are here

public function MaestroStartTask::getTaskColours in Maestro 3.x

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

Returns the task's defined colours. This is useful if you want to let the tasks decide on what colours to paint themselves in the UI.

Overrides MaestroEngineTaskInterface::getTaskColours

File

src/Plugin/EngineTasks/MaestroStartTask.php, line 72

Class

MaestroStartTask
Maestro Start Task Plugin.

Namespace

Drupal\maestro\Plugin\EngineTasks

Code

public function getTaskColours() {
  return '#00ff00';
}