Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2015 at 17:30 UTC
Updated:
6 Jan 2016 at 17:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
megachrizYes, I suppose it would be better to use that, though processors existing in contrib now use "label plural" and on the entity type info there isn't always a "plural label" set. See for example the entity type "commerce_product".
To keep backwards compatibility, I think the best we could do is to check for both.
For reference, this convention was added in #932772: FeedsProcessor: Consolidate process() and clear().
The attached patch checks for "plural label" in entity info. If that property is set, it assigns it to "label plural".
I think that this issue is minor though.
Comment #3
miroslavbanov commentedI agree on issue being minor and needing to check both for BC purposes.
Comment #4
megachrizI tested the code with the Feeds entity processor for "Taxonomy vocabulary entity processor - EXPERIMENTAL". Without the patch applied it says "Update existing taxonomy vocabulary" on the processor settings. With the patch applied it says "Update existing taxonomy vocabularies".
Committed #2.