You are here

public static function Migration::getSteps 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::getSteps()

File

src/Controller/Migration.php, line 302

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

public static function getSteps() {
  return [
    self::STEP_EXPORT_POOLS => t('Export pools'),
    self::STEP_EXPORT_FLOWS => t('Export flows'),
    // TODO:

    //self::STEP_TEST_MANUAL_PUSH => t("Push manually"),

    //self::STEP_TEST_AUTOMATED_PULL => t("Push automatically"),

    //self::STEP_TEST_MANUAL_PULL => t("Pull manually"),
    self::STEP_SWITCH => t('Switch over'),
    self::STEP_DONE => t('Done'),
  ];
}