public static function FlowControllerSimple::getFormValuesForNewFlow in CMS Content Sync 2.1.x
1 call to FlowControllerSimple::getFormValuesForNewFlow()
- Embed::flowForm in src/
Controller/ Embed.php
File
- src/
Controller/ FlowControllerSimple.php, line 397
Class
Namespace
Drupal\cms_content_sync\ControllerCode
public static function getFormValuesForNewFlow(?Flow $flow) {
$values = $flow ? [
'machineName' => $flow->id,
'name' => $flow->name,
] : [];
return [
'values' => $values,
] + FlowControllerSimple::getFormConfig($flow);
}