MCPcopy Index your code
hub / github.com/ddev/ddev / SetApptypeSettingsPaths

Method SetApptypeSettingsPaths

pkg/ddevapp/apptypes.go:432–436  ·  view source on GitHub ↗

SetApptypeSettingsPaths chooses and sets the settings.php/settings.local.php and related paths for a given app.

()

Source from the content-addressed store, hash-verified

430// SetApptypeSettingsPaths chooses and sets the settings.php/settings.local.php
431// and related paths for a given app.
432func (app *DdevApp) SetApptypeSettingsPaths() {
433 if appFuncs, ok := appTypeMatrix[app.Type]; ok && appFuncs.appTypeSettingsPaths != nil {
434 appFuncs.appTypeSettingsPaths(app)
435 }
436}
437
438// DetectAppType calls each apptype's detector until it finds a match,
439// or returns 'php' as a last resort.

Callers 2

CreateSettingsFileMethod · 0.95
NewAppFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected