public function MaestroWebformTask::getTemplateBuilderCapabilities in Maestro 3.x
Same name and namespace in other branches
- 8.2 modules/maestro_webform/src/Plugin/EngineTasks/MaestroWebformTask.php \Drupal\maestro_webform\Plugin\EngineTasks\MaestroWebformTask::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
- modules/
maestro_webform/ src/ Plugin/ EngineTasks/ MaestroWebformTask.php, line 459
Class
- MaestroWebformTask
- Maestro Webform Task Plugin.
Namespace
Drupal\maestro_webform\Plugin\EngineTasksCode
public function getTemplateBuilderCapabilities() {
/*
* We're using the stock edit, draw lines, remove lines and removal task capabilities in the editor.
*/
return [
'edit',
'drawlineto',
'removelines',
'remove',
];
}