Skip to content

Commit

Permalink
Fix wrong variable name (#2780)
Browse files Browse the repository at this point in the history
  • Loading branch information
dosten authored and jmolivas committed Oct 12, 2016
1 parent a13279f commit e375163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/Config/ExportSingleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ protected function getConfigNames($config_type)

// For a given entity type, load all entities.
if ($config_type && $config_type !== 'system.simple') {
$entity_storage = $this->entityManager->getStorage($config_type);
$entity_storage = $this->entityTypeManager->getStorage($config_type);
foreach ($entity_storage->loadMultiple() as $entity) {
$entity_id = $entity->id();
$label = $entity->label() ?: $entity_id;
Expand Down

0 comments on commit e375163

Please sign in to comment.