Attached patch enables the machine_name entity key for taxonomy vocabularies. This is for example important for exported Rules configurations that should contain the vocabulary machine name, not the installation-specific id.

CommentFileSizeAuthor
entity-taxonomy-vocab-machine-name.patch463 bytesklausi

Comments

fago’s picture

Title: Enable machine name of taxonomy vocabularies » Identify vocabularies by machine name
Project: Entity API » Rules
Component: Core integration » User interface
Status: Needs review » Needs work

We cannot do this, as this would say the name can be used as identifier and with the entity API functions - but that isn't the case with vocabularies as the core code assumes the numeric ids.

Still, we can solve this on the Rules-level, better said: It has been already solved, as there is a separate data wrapper for vocabs what enables using the machine names. However, we need to improve the UI to make use of that. Ideally, let's add a vocab-direct-input support that provides a select for choosing a vocabulary.

fago’s picture

Status: Needs work » Fixed

I've implemented that and committed it.

Status: Fixed » Closed (fixed)

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