I rely on consistent entity exports and Git to aid a change control process. Sorting entity values by name facilitates consistent diffing across environments.

Patch is forthcoming.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mmikitka’s picture

mmikitka’s picture

Assigned: mmikitka » Unassigned
Status: Active » Needs review
joachim’s picture

Status: Needs review » Needs work

Comments need a full stop at the end, but apart from that looks fine.

mmikitka’s picture

Joachim: I don't understand your remark re: comments needing a full stop. Can you please clarify?

joachim’s picture

Comments should be a complete sentence:

> + // Sort entities by name for consistent diffing

Should be:

+ // Sort entities by name for consistent diffing.

mmikitka’s picture

Issue summary: View changes
Status: Needs work » Needs review
FileSize
1.25 KB

Updated with full-stop comments

mmikitka’s picture

Can you please provide an update?

mmikitka’s picture

Is anything required to move this along?

Chris Matthews’s picture

Status: Needs review » Reviewed & tested by the community

The 5 year old patch in #5 to entity.features.inc and entity.module applied cleanly to the latest entity 7.x-1.x-dev and works well for me.