You are here

public function MaestroOrTask::getTemplateBuilderCapabilities in Maestro 8.2

Same name and namespace in other branches
  1. 3.x src/Plugin/EngineTasks/MaestroOrTask.php \Drupal\maestro\Plugin\EngineTasks\MaestroOrTask::getTemplateBuilderCapabilities()

Returns an array of consistenly keyed array elements that define what this task can do in the template builder. Elements are: edit, drawlineto, drawfalselineto, removelines, remove.

Overrides MaestroEngineTaskInterface::getTemplateBuilderCapabilities

File

src/Plugin/EngineTasks/MaestroOrTask.php, line 131

Class

MaestroOrTask
Maestro Or Task Plugin.

Namespace

Drupal\maestro\Plugin\EngineTasks

Code

public function getTemplateBuilderCapabilities() {
  return [
    'edit',
    'drawlineto',
    'removelines',
    'remove',
  ];
}