public function ImportEntity::gidIsCurrentlyImporting in Content Synchronizer 8
Same name and namespace in other branches
- 8.2 src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::gidIsCurrentlyImporting()
- 3.x src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::gidIsCurrentlyImporting()
Return true if the gid is currently importing and is not imported yet.
Parameters
string $gid: THe gid.
File
- src/
Entity/ ImportEntity.php, line 395
Class
- ImportEntity
- Defines the Import entity.
Namespace
Drupal\content_synchronizer\EntityCode
public function gidIsCurrentlyImporting($gid) {
return $this
->getEntityDataFromGid($gid)[self::ENTITY_FIELD_IMPORTING_STATUS] == self::STATUS_RUNNING;
}