Skip to content
Snippets Groups Projects
Commit 9c45e18e authored by David Pascoe-Deslauriers's avatar David Pascoe-Deslauriers
Browse files

feat (export): cleaned-up exported wsconfig entities

Now when wsconfig entities are exported, they won't include the wsconfig_type and connector which should be loaded from the wsconfig type
and won't include the created and changed dates since those just mess with the feature status.
parent a049601c
Branches
Tags 7.x-1.1
No related merge requests found
......@@ -281,6 +281,14 @@ class WsConfigController extends EntityAPIControllerExportable {
return $content;
}
public function export($entity, $prefix = '') {
unset($entity->wsconfig_type);
unset($entity->connector);
unset($entity->created);
unset($entity->changed);
return parent::export($entity, $prefix);
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment