You are here

public function FlowControllerSimple::getFormValues in CMS Content Sync 2.1.x

Get the values for the embed Flow form.

Return value

array

File

src/Controller/FlowControllerSimple.php, line 371

Class

FlowControllerSimple

Namespace

Drupal\cms_content_sync\Controller

Code

public function getFormValues() {
  return [
    'values' => $this->flow->simple_settings + [
      'machineName' => $this->flow->id,
      'name' => $this->flow->name,
      'type' => $this->flow->type,
    ],
  ] + FlowControllerSimple::getFormConfig($this->flow);
}