You are here

public function MaestroOrTask::getTaskColours in Maestro 8.2

Same name and namespace in other branches
  1. 3.x src/Plugin/EngineTasks/MaestroOrTask.php \Drupal\maestro\Plugin\EngineTasks\MaestroOrTask::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/MaestroOrTask.php, line 72

Class

MaestroOrTask
Maestro Or Task Plugin.

Namespace

Drupal\maestro\Plugin\EngineTasks

Code

public function getTaskColours() {
  return '#daa520';
}