/**
  * {@inheritdoc}
  */
 public function listExtensionConfig($extension)
 {
     // Convert to Component object if it is a string
     if (is_string($extension)) {
         // In case this is the short form machine name, convert to full form.
         $extension = $this->getAssigner()->getBundle()->getFullName($extension);
         $pathname = drupal_get_filename('module', $extension);
         $extension = new Extension(\Drupal::root(), 'module', $pathname);
     }
     return $this->extensionStorages->listExtensionConfig($extension);
 }
 /**
  * {@inheritdoc}
  */
 public function listExtensionConfig(Extension $extension)
 {
     return $this->extensionStorages->listExtensionConfig($extension);
 }