You are here

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

Store the values from the embed Flow form.

Return value

void

File

src/Controller/FlowControllerSimple.php, line 386

Class

FlowControllerSimple

Namespace

Drupal\cms_content_sync\Controller

Code

public function setFormValues(array $values) {
  $this->flow->name = $values['name'];
  unset($values['type']);
  unset($values['machineName']);
  unset($values['name']);
  $this->flow->simple_settings = $values;
}