You are here

public static function Pool::getAll in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Entity/Pool.php \Drupal\cms_content_sync\Entity\Pool::getAll()
  2. 2.0.x src/Entity/Pool.php \Drupal\cms_content_sync\Entity\Pool::getAll()

Load all cms_content_sync_pool entities.

Return value

Pool[]

31 calls to Pool::getAll()
CliService::configuration_export in src/Cli/CliService.php
Export the configuration to the Sync Core.
cms_content_sync_update_8010 in ./cms_content_sync.install
Promote Site ID + Authentication type as a side-wide property rather than a setting per pool.
ContentSyncSettings::isDirectSyncCoreAccessEnabled in src/Controller/ContentSyncSettings.php
Whether or not users can directly communicate with the Sync Core. This only makes sense if the Sync Core is exposed publicly so right it's restricted to the Cloud version of Content Sync. The setting is saved in the Sync Core, not locally at this…
ContentSyncSettings::setDirectSyncCoreAccessEnabled in src/Controller/ContentSyncSettings.php
Set whether or not to allow direct Sync Core communication.
CopyRemoteFlow::flowImportForm in src/Form/CopyRemoteFlow.php
Step 4: Adjust configuration before importing.

... See full list

File

src/Entity/Pool.php, line 315

Class

Pool
Defines the "Content Sync - Pool" entity.

Namespace

Drupal\cms_content_sync\Entity

Code

public static function getAll() {

  /**
   * @var Pool[] $configurations
   */
  return \Drupal::entityTypeManager()
    ->getStorage('cms_content_sync_pool')
    ->loadMultiple();
}