makinacorpus / drupal-usync

Minimal yet powerfull config file based features-like toolkit for Drupal 7.
2 stars 1 forks source link

DX: allow field creation on "vocabulary" #1

Open simongeorges opened 8 years ago

simongeorges commented 8 years ago

Currently, we are obliged to declare the field on taxonomies separately from the vocabulary itself, whereas on nodes & users, only one declaration is required. This is strange and not immediate to understand ;-)

Example code:

entity:
  vocabulary:
    my_vocabulary:
      name: "My name"

  taxonomy_term:
    my_vocabulary:
      field:
        my_field: true
SebCorbin commented 7 years ago

This is fixed by 164e5dc33c05b3f52f81db7f9765798efec3dd63

SebCorbin commented 7 years ago

There are inconsistencies due to this change 'vocabulary' references should also be renamed