You are here

protected function ContentHubEntitiesTracking::getImportStatus in Acquia Content Hub 8

Returns the Import Status.

This function should not be public and the service's consumers should not know about the class's AUTO_UPDATE_* contants.

Return value

string The Import Status.

7 calls to ContentHubEntitiesTracking::getImportStatus()
ContentHubEntitiesTracking::hasLocalChange in src/ContentHubEntitiesTracking.php
Check if the entity has local change or not.
ContentHubEntitiesTracking::isAutoUpdate in src/ContentHubEntitiesTracking.php
Check if the entity auto-updates or not.
ContentHubEntitiesTracking::isAutoUpdateDisabled in src/ContentHubEntitiesTracking.php
Check if the entity auto-updates is disabled.
ContentHubEntitiesTracking::isDependent in src/ContentHubEntitiesTracking.php
Check if the entity is a dependent of another entity.
ContentHubEntitiesTracking::isImportedEntity in src/ContentHubEntitiesTracking.php
Returns the tracking entity if it is an imported entity.

... See full list

File

src/ContentHubEntitiesTracking.php, line 297

Class

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

Namespace

Drupal\acquia_contenthub

Code

protected function getImportStatus() {
  return isset($this
    ->getTrackingEntity()->status_import) ? $this
    ->getTrackingEntity()->status_import : NULL;
}