You are here

public function MaestroIfTask::getTaskColours in Maestro 8.2

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

Class

MaestroIfTask
Maestro If Task Plugin.

Namespace

Drupal\maestro\Plugin\EngineTasks

Code

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