You are here

public function ImportEntity::getProcessingStatus in Content Synchronizer 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::getProcessingStatus()
  2. 8 src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::getProcessingStatus()

Return the processing status of the import.

Return value

int The status.

File

src/Entity/ImportEntity.php, line 214

Class

ImportEntity
Defines the Import entity.

Namespace

Drupal\content_synchronizer\Entity

Code

public function getProcessingStatus() {
  return intval($this
    ->get(self::FIELD_PROCESSING_STATUS)->value);
}