Private
Templatize a layers adminLayerInfo by removing properties that will case issues with clone. Also templatizes the source service name when we are dealing with a view.
The layer to be modified
Array of service dependencies
A new copy of the modified adminLayerInfo for the given layer
Templatize a layers adminLayerInfo by removing properties that will case issues with clone. Also templatizes the source service name when we are dealing with a view.