public function MaestroWebformTask::getTaskColours in Maestro 8.2
Same name and namespace in other branches
- 3.x modules/maestro_webform/src/Plugin/EngineTasks/MaestroWebformTask.php \Drupal\maestro_webform\Plugin\EngineTasks\MaestroWebformTask::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
- modules/
maestro_webform/ src/ Plugin/ EngineTasks/ MaestroWebformTask.php, line 87
Class
- MaestroWebformTask
- Maestro Webform Task Plugin.
Namespace
Drupal\maestro_webform\Plugin\EngineTasksCode
public function getTaskColours() {
// Using the Blue task box as we've historically used blue for interactive.
return '#0000ff';
}