public function Pool::getClient in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Entity/Pool.php \Drupal\cms_content_sync\Entity\Pool::getClient()
- 2.0.x src/Entity/Pool.php \Drupal\cms_content_sync\Entity\Pool::getClient()
Return value
\EdgeBox\SyncCore\Interfaces\ISyncCore
File
- src/
Entity/ Pool.php, line 109
Class
- Pool
- Defines the "Content Sync - Pool" entity.
Namespace
Drupal\cms_content_sync\EntityCode
public function getClient() {
if (!$this->client) {
$this->client = SyncCoreFactory::getSyncCore($this
->getSyncCoreUrl());
}
return $this->client;
}