/** * Helper meothd to test custom config installer steps. * * @param array $context * Batch context. * @param \Drupal\Core\Config\ConfigImporter $importer * The config importer. */ public static function customStep(array &$context, ConfigImporter $importer) { $context['is_syncing'] = \Drupal::isConfigSyncing(); }