You are here

public function FlowForm::updateSyncHandler in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Form/FlowForm.php \Drupal\cms_content_sync\Form\FlowForm::updateSyncHandler()
  2. 2.0.x src/Form/FlowForm.php \Drupal\cms_content_sync\Form\FlowForm::updateSyncHandler()

A sync handler has been updated, so the options must be updated as well. We're simply reloading the table in this case.

Parameters

array $form:

Return value

array The new sync_entities table

File

src/Form/FlowForm.php, line 179

Class

FlowForm
Form handler for the Flow add and edit forms.

Namespace

Drupal\cms_content_sync\Form

Code

public function updateSyncHandler($form, FormStateInterface $form_state) {
  return $form['sync_entities'];
}