isDrupal9App detects whether the code found is Drupal 9
(app *DdevApp)
| 361 | |
| 362 | // isDrupal9App detects whether the code found is Drupal 9 |
| 363 | func isDrupal9App(app *DdevApp) bool { |
| 364 | vStr, err := GetDrupalVersion(app) |
| 365 | if err != nil { |
| 366 | return false |
| 367 | } |
| 368 | return vStr == "9" |
| 369 | } |
| 370 | |
| 371 | // isDrupal10App detects whether the code found is Drupal 10 |
| 372 | func isDrupal10App(app *DdevApp) bool { |
nothing calls this directly
no test coverage detected