You are here

public function ImportEntity::getProcessingStatus in Content Synchronizer 8.2

Same name and namespace in other branches
  1. 8 src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::getProcessingStatus()
  2. 3.x 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 201

Class

ImportEntity
Defines the Import entity.

Namespace

Drupal\content_synchronizer\Entity

Code

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