isDrupal12App detects whether the code found is Drupal 12
(app *DdevApp)
| 388 | |
| 389 | // isDrupal12App detects whether the code found is Drupal 12 |
| 390 | func isDrupal12App(app *DdevApp) bool { |
| 391 | vStr, err := GetDrupalVersion(app) |
| 392 | if err != nil { |
| 393 | return false |
| 394 | } |
| 395 | return vStr == "12" |
| 396 | } |
| 397 | |
| 398 | // isDrupalApp returns true if the app is modern Drupal (drupal8+) |
| 399 | func isDrupalApp(app *DdevApp) bool { |
nothing calls this directly
no test coverage detected