protected function getConfigTypes()
 {
     $this->entityManager = $this->getService('entity_type.manager');
     foreach ($this->entityManager->getService('entity_type.manager') as $entity_type => $definition) {
         if ($definition->isSubclassOf('Drupal\\Core\\Config\\Entity\\ConfigEntityInterface')) {
             $this->definitions[$entity_type] = $definition;
         }
     }
     $entity_types = array_map(function ($definition) {
         return $definition->getLabel();
     }, $this->definitions);
     uasort($entity_types, 'strnatcasecmp');
     $config_types = array('system.simple' => $this->trans('commands.config.export.single.options.simple-configuration')) + $entity_types;
     return $config_types;
 }