public function MaestroInteractiveExampleTask::getTemplateBuilderCapabilities in Maestro 8.2
Same name and namespace in other branches
- 3.x modules/examples/maestro_interactive_task_plugin_example/src/Plugin/EngineTasks/MaestroInteractiveExampleTask.php \Drupal\maestro_interactive_task_plugin_example\Plugin\EngineTasks\MaestroInteractiveExampleTask::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/
examples/ maestro_interactive_task_plugin_example/ src/ Plugin/ EngineTasks/ MaestroInteractiveExampleTask.php, line 268
Class
- MaestroInteractiveExampleTask
- Maestro Interactive Example Task Plugin.
Namespace
Drupal\maestro_interactive_task_plugin_example\Plugin\EngineTasksCode
public function getTemplateBuilderCapabilities() {
/*
* This method is used by the template builder to signal to the UI what this task can or cannot do.
* Look at the function declaration for more info and other tasks for what they return.
* Generally, the capabilities listed here are the general four that a task should be able to accomodate.
*/
return [
'edit',
'drawlineto',
'removelines',
'remove',
];
}