You are here

public function ConfigurationExportManager::exportAll in Configuration Management 7.3

File

src/Helpers/ConfigurationExportManager.php, line 45
ConfigurationExportManager.php handles the export of configurations.

Class

ConfigurationExportManager

Namespace

Configuration\Helpers

Code

public function exportAll() {
  $list = array();
  foreach ($this->configuration_manager
    ->getHandlersTypes() as $type) {
    $identifiers = $this->configuration_manager
      ->getHandlerFromType($type)
      ->getIdentifiers();
    foreach ($identifiers as $id => $label) {
      $list[$type . '.' . $id] = TRUE;
    }
  }
  $this
    ->defineItemsToExport($list)
    ->export();
}