You are here

protected static function Migration::setFlowStatus in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 2.0.x src/Controller/Migration.php \Drupal\cms_content_sync\Controller\Migration::setFlowStatus()
5 calls to Migration::setFlowStatus()
Migration::entityUsedV2 in src/Controller/Migration.php
Migration::setFlowV2Ready in src/Controller/Migration.php
Migration::skipFlowsPull in src/Controller/Migration.php
Migration::skipFlowsPush in src/Controller/Migration.php
Migration::skipFlowsTest in src/Controller/Migration.php

File

src/Controller/Migration.php, line 396

Class

Migration
Migration Embed provides methods and a UI to migrate from Content Sync v1 to Content Sync v2.

Namespace

Drupal\cms_content_sync\Controller

Code

protected static function setFlowStatus($id, $status) {
  \Drupal::service('config.factory')
    ->getEditable('cms_content_sync.migration')
    ->set('flow.' . $id, $status)
    ->save();
  self::$flow_statuses[$id] = $status;
}