isDrupal8App detects whether the code found is Drupal 8
(app *DdevApp)
| 352 | |
| 353 | // isDrupal8App detects whether the code found is Drupal 8 |
| 354 | func isDrupal8App(app *DdevApp) bool { |
| 355 | vStr, err := GetDrupalVersion(app) |
| 356 | if err != nil { |
| 357 | return false |
| 358 | } |
| 359 | return vStr == "8" |
| 360 | } |
| 361 | |
| 362 | // isDrupal9App detects whether the code found is Drupal 9 |
| 363 | func isDrupal9App(app *DdevApp) bool { |
nothing calls this directly
no test coverage detected