public function CopyRemoteFlow::selectFlow in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Form/CopyRemoteFlow.php \Drupal\cms_content_sync\Form\CopyRemoteFlow::selectFlow()
- 2.0.x src/Form/CopyRemoteFlow.php \Drupal\cms_content_sync\Form\CopyRemoteFlow::selectFlow()
Rebuild form for next step.
Parameters
array $form:
File
- src/
Form/ CopyRemoteFlow.php, line 110
Class
- CopyRemoteFlow
- Form handler for the Pool add and edit forms.
Namespace
Drupal\cms_content_sync\FormCode
public function selectFlow($form, FormStateInterface $form_state) {
$trigger = $form_state
->getTriggeringElement();
$flow_id = $trigger['#flow_id'];
$form_state
->setValue('flow', $flow_id);
$form_state
->setRebuild();
}