GetType returns the application type as a (lowercase) string
()
| 158 | |
| 159 | // GetType returns the application type as a (lowercase) string |
| 160 | func (app *DdevApp) GetType() string { |
| 161 | if app.Type == nodeps.AppTypeDrupal { |
| 162 | app.Type = nodeps.AppTypeDrupalLatestStable |
| 163 | } |
| 164 | return strings.ToLower(app.Type) |
| 165 | } |
| 166 | |
| 167 | // Init populates DdevApp config based on the current working directory. |
| 168 | // It does not start the containers. |
no outgoing calls