isDrupal10App detects whether the code found is Drupal 10
(app *DdevApp)
| 370 | |
| 371 | // isDrupal10App detects whether the code found is Drupal 10 |
| 372 | func isDrupal10App(app *DdevApp) bool { |
| 373 | vStr, err := GetDrupalVersion(app) |
| 374 | if err != nil { |
| 375 | return false |
| 376 | } |
| 377 | return vStr == "10" |
| 378 | } |
| 379 | |
| 380 | // isDrupal11App detects whether the code found is Drupal 11 |
| 381 | func isDrupal11App(app *DdevApp) bool { |
nothing calls this directly
no test coverage detected