You are here

public function EntityStatus::isPushedAsDependency in CMS Content Sync 8

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

Returns the information if the entity has been pushed with this flow and pool as a dependency.

Return value

bool

File

src/Entity/EntityStatus.php, line 635

Class

EntityStatus
Defines the "Content Sync - Entity Status" entity type.

Namespace

Drupal\cms_content_sync\Entity

Code

public function isPushedAsDependency() {
  return (bool) ($this
    ->get('flags')->value & self::FLAG_DEPENDENCY_PUSH_ENABLED);
}