You are here

public function Importer::isImporting in Tome 8

Gets or sets importing state.

Parameters

bool $importing: The importing state to set.

Return value

bool Returns TRUE if importing, FALSE otherwise.

Overrides ImporterInterface::isImporting

1 call to Importer::isImporting()
Importer::importContent in modules/tome_sync/src/Importer.php
Imports a content entity from the source storage.

File

modules/tome_sync/src/Importer.php, line 254

Class

Importer
Handles importing of content and file entities.

Namespace

Drupal\tome_sync

Code

public function isImporting($importing = NULL) {
  if (is_bool($importing)) {
    $this->isImporting = $importing;
  }
  return $this->isImporting;
}