You are here

public function ContentHubEntitiesTracking::isDependent in Acquia Content Hub 8

Check if the entity is a dependent of another entity.

Return value

bool TRUE if the entity is a dependent, FALSE otherwise.

1 call to ContentHubEntitiesTracking::isDependent()
ContentHubEntitiesTracking::setImportStatus in src/ContentHubEntitiesTracking.php
Sets the Import Status.

File

src/ContentHubEntitiesTracking.php, line 348

Class

ContentHubEntitiesTracking
Tracks in a table the list of all entities imported from Content Hub.

Namespace

Drupal\acquia_contenthub

Code

public function isDependent() {
  return $this
    ->getImportStatus() === self::IS_DEPENDENT;
}