I'd like to request that the generated configuration.inc file exclude the keyed index for each configuration item.
So instead of this:
$configurations = array (
0 => 'content_type.article',
1 => 'field.node.body.article',
2 => 'field.node.custom_author.article',
3 => 'field.node.field_article_media.article',
);
We'd have this:
$configurations = array (
'content_type.article',
'field.node.body.article',
'field.node.custom_author.article',
'field.node.field_article_media.article',
);
I often track and export new configurations so I can manually merge them with existing configuration, and currently it is awkward and very error-prone to do that.
By leaving the keyed index out, I can sort the combined configuration alphabetically, and avoid accidentally skipping a configuration because of a duplicate index.
Comments
Comment #1
gdrupal commentedThis could be a really quick fix doing the trick...
Comment #2
dagmarThis patch produces the following configuration.inc file:
Comment #3
lucascaro commentedComment #4
dagmarCommitted and Pushed to 7.x-2.x