protected function MigrationConfigurationTrait::getConfigFactory in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate_drupal/src/MigrationConfigurationTrait.php \Drupal\migrate_drupal\MigrationConfigurationTrait::getConfigFactory()
- 10 core/modules/migrate_drupal/src/MigrationConfigurationTrait.php \Drupal\migrate_drupal\MigrationConfigurationTrait::getConfigFactory()
Gets the config factory service.
Return value
\Drupal\Core\Config\ConfigFactoryInterface The config factory service.
File
- core/
modules/ migrate_drupal/ src/ MigrationConfigurationTrait.php, line 256
Class
- MigrationConfigurationTrait
- Configures the appropriate migrations for a given source Drupal database.
Namespace
Drupal\migrate_drupalCode
protected function getConfigFactory() {
if (!$this->configFactory) {
$this->configFactory = \Drupal::service('config.factory');
}
return $this->configFactory;
}