You are here

public function MaestroAndTask::getTaskColours in Maestro 8.2

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

Class

MaestroAndTask
Maestro And Task Plugin.

Namespace

Drupal\maestro\Plugin\EngineTasks

Code

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