Open martin-wessel-topfloor opened 9 years ago
This breaks compatibility only in the sense that those keys would be ignored and the field definition would not be processed.
It might be possible to keep backwards compatibility if the tf_functions_load_json function is updated to allow altering the array before it is saved. A hook could be implemented in field_markup that scans through the array and replaces bundle
with content-type
.
The current key of
bundle:
, while used by Drupal internally, is not clear to someone not used to Drupal's internals. Change the key to content-type to make it easier to understand the JSON file.