Loading modules/tome_sync/tome_sync.module +3 −1 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Installer\InstallerKernel; use Drupal\field\Entity\FieldConfig; /** Loading Loading @@ -109,5 +110,6 @@ function _tome_sync_should_export(EntityInterface $entity) { return $entity instanceof ContentEntityInterface && $entity->isDefaultRevision() && !\Drupal::isConfigSyncing() && !\Drupal::service('tome_sync.importer')->isImporting(); && !\Drupal::service('tome_sync.importer')->isImporting() && !InstallerKernel::installationAttempted(); } Loading
modules/tome_sync/tome_sync.module +3 −1 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Installer\InstallerKernel; use Drupal\field\Entity\FieldConfig; /** Loading Loading @@ -109,5 +110,6 @@ function _tome_sync_should_export(EntityInterface $entity) { return $entity instanceof ContentEntityInterface && $entity->isDefaultRevision() && !\Drupal::isConfigSyncing() && !\Drupal::service('tome_sync.importer')->isImporting(); && !\Drupal::service('tome_sync.importer')->isImporting() && !InstallerKernel::installationAttempted(); }