parameters: (self, layer)
docstring: Set the projection from a QgsVectorLayer.
          We create a WKT definition which is transmitted to Grass
docstring_summary: Set the projection from a QgsVectorLayer.
          We create a WKT definition which is transmitted to Grass
docstring_tokens: Set the projection from a QgsVectorLayer . We create a WKT definition which is transmitted to Grass
function: def setSessionProjectionFromLayer(self, layer):
          """
          Set the projection from a QgsVectorLayer.
          We create a WKT definition which is transmitted to Grass
          """
          if not Grass7Utils.projectionSet:
              self.setSessionProjection(layer.crs())
function_tokens: def setSessionProjectionFromLayer ( self , layer ) : if not Grass7Utils . projectionSet : self . setSessionProjection ( layer . crs ( ) )