it would be nice if _provision_drupal_create_settings_file and similar functions would let the caller override where the file is actually called. we needed that in #2412563: amazon s3 storage service and we ended up completely avoiding that problem because it was so huge.

Comments

anarcat’s picture

Status: Active » Needs review

pushed to the dev/2460443-write-arbitrary branch: http://cgit.drupalcode.org/provision/commit/?h=dev/2460443-write-arbitra...

trivial enough.. but totally untested.

helmo’s picture

Status: Needs review » Needs work

Code looks ok, but it would need to be documented atleast in both comment blocks above the function.