public static function MaestroEngine::getTemplateVariables in Maestro 8.2
Same name and namespace in other branches
- 3.x src/Engine/MaestroEngine.php \Drupal\maestro\Engine\MaestroEngine::getTemplateVariables()
Get the template variables from the template.
Parameters
string $templateMachineName: Maestro machine name for the template.
Return value
array The template variables.
4 calls to MaestroEngine::getTemplateVariables()
- MaestroIfTask::getTaskEditForm in src/
Plugin/ EngineTasks/ MaestroIfTask.php - Method to allow a task to add their own fields to the task edit form.
- MaestroSetProcessVariableTask::getTaskEditForm in src/
Plugin/ EngineTasks/ MaestroSetProcessVariableTask.php - Method to allow a task to add their own fields to the task edit form.
- MaestroTaskTrait::getAssignmentsAndNotificationsForm in src/
MaestroTaskTrait.php - Retrieve the core Maestro form edit elements for Assignments and Notifications.
- MaestroWebformTask::getTaskEditForm in modules/
maestro_webform/ src/ Plugin/ EngineTasks/ MaestroWebformTask.php - Method to allow a task to add their own fields to the task edit form.
File
- src/
Engine/ MaestroEngine.php, line 173
Class
- MaestroEngine
- Class MaestroEngine.
Namespace
Drupal\maestro\EngineCode
public static function getTemplateVariables($templateMachineName) {
$template = self::getTemplate($templateMachineName);
return $template->variables;
}