You are here

protected function MigrationDefinitionCreator::isNewConfiguration in GatherContent 8.5

Determine if the configuration is new.

1 call to MigrationDefinitionCreator::isNewConfiguration()
MigrationDefinitionCreator::buildMigrationDefinition in src/MigrationDefinitionCreator.php
Builds the migration definition.

File

src/MigrationDefinitionCreator.php, line 156

Class

MigrationDefinitionCreator
Create dynamic migration definitions.

Namespace

Drupal\gathercontent

Code

protected function isNewConfiguration($definitionId) : bool {
  $configuration = $this->configFactory
    ->get($definitionId);
  return $configuration ? FALSE : TRUE;
}