public function Pool::useV2 in CMS Content Sync 2.0.x
Same name and namespace in other branches
- 2.1.x src/Entity/Pool.php \Drupal\cms_content_sync\Entity\Pool::useV2()
2 calls to Pool::useV2()
- Pool::getClient in src/
Entity/ Pool.php - Pool::getSyncCoreUrl in src/
Entity/ Pool.php - Returns the Sync Core URL for this pool.
File
- src/
Entity/ Pool.php, line 521
Class
- Pool
- Defines the "Content Sync - Pool" entity.
Namespace
Drupal\cms_content_sync\EntityCode
public function useV2() {
return self::V2_STATUS_ACTIVE === $this
->getV2Status() || Migration::useV2();
}