You are here

public function Flow::useV2 in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 2.0.x src/Entity/Flow.php \Drupal\cms_content_sync\Entity\Flow::useV2()

File

src/Entity/Flow.php, line 575

Class

Flow
Defines the "Content Sync - Flow" entity.

Namespace

Drupal\cms_content_sync\Entity

Code

public function useV2() {
  return self::V2_STATUS_ACTIVE === $this
    ->getV2Status() || Migration::useV2();
}