public function ConfigurationHandler::export in Configuration Management 7.3
Generates the JSON representation of this configuration.
File
- src/
Handlers/ ConfigurationHandler.php, line 68
Class
Namespace
Configuration\HandlersCode
public function export(Configuration $configuration, $format = 'json') {
switch ($format) {
case 'json':
return $this
->exportToJson($configuration);
break;
default:
return '';
break;
}
}