isDrupal11App detects whether the code found is Drupal 11
(app *DdevApp)
| 379 | |
| 380 | // isDrupal11App detects whether the code found is Drupal 11 |
| 381 | func isDrupal11App(app *DdevApp) bool { |
| 382 | vStr, err := GetDrupalVersion(app) |
| 383 | if err != nil { |
| 384 | return false |
| 385 | } |
| 386 | return vStr == "11" |
| 387 | } |
| 388 | |
| 389 | // isDrupal12App detects whether the code found is Drupal 12 |
| 390 | func isDrupal12App(app *DdevApp) bool { |
nothing calls this directly
no test coverage detected