Problem/Motivation

Currently settings are stored in the 'domain_fields_' . $domain['domain_id'] Drupal variable. It's not useful if we have several environments and want to deploy this variable using Features module for example, as domain_id can be different per environment.

Proposed resolution

Use Domain machine_name instead of domain_id in the settings variable 'domain_fields_' . $domain['machine_name'] to make it exportable.

Comments

Oleksiy created an issue. See original summary.

oleksiy’s picture

Status: Active » Needs review
StatusFileSize
new2.7 KB
andypost’s picture

Status: Needs review » Reviewed & tested by the community

looks great and provides upgrade path

  • Alan D. committed 4122693 on 7.x-1.x authored by Oleksiy
    Issue #2607426 by Oleksiy, andypost: Use Domain machine_name instead of...
alan d.’s picture

Status: Reviewed & tested by the community » Fixed

Looks good to me too, albeit no testing environment, but assuming careful testing by Andy ;)

Should make exports easier!

Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.