public static function MigrationBase::createPools in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 modules/cms_content_sync_migrate_acquia_content_hub/src/Form/MigrationBase.php \Drupal\cms_content_sync_migrate_acquia_content_hub\Form\MigrationBase::createPools()
- 2.0.x modules/cms_content_sync_migrate_acquia_content_hub/src/Form/MigrationBase.php \Drupal\cms_content_sync_migrate_acquia_content_hub\Form\MigrationBase::createPools()
Create the pools based on the user selected terms.
Parameters
$pools:
$backend_url:
$authentication_type:
1 call to MigrationBase::createPools()
- drush_cms_content_sync_migrate_acquia_content_hub_content_sync_migrate_acquia_content_hub in modules/
cms_content_sync_migrate_acquia_content_hub/ cms_content_sync_migrate_acquia_content_hub.drush.inc - Migrate Acquia Content Hub.
File
- modules/
cms_content_sync_migrate_acquia_content_hub/ src/ Form/ MigrationBase.php, line 96
Class
- MigrationBase
- Content Sync advanced debug form.
Namespace
Drupal\cms_content_sync_migrate_acquia_content_hub\FormCode
public static function createPools($pools, $backend_url, $authentication_type) {
foreach ($pools as $machine_name => $name) {
Pool::createPool($name, $machine_name, $backend_url, $authentication_type);
}
\Drupal::messenger()
->addMessage('Content Sync Pools have been created.');
}