- Issue created by @donquixote
- 🇩🇪Germany donquixote
For now I am using the class 'machine-name' for feature detection.
Ideally, core should provide a better way for contrib modules to detect if the machine name column is present. - 🇧🇪Belgium swentel
Moving to 8.x branch (other two are not supported) - will check soon, had no idea this was added.
- 🇩🇪Germany donquixote
had no idea this was added.
Yeah this is quite new and not part of any stable release yet if I saw correctly.
I only found it because I really wanted to have machine names.Perhaps core should provide better detectability of this change, before anything is committed to ds or field_group.
Until then, people can use this patch if it is useful to them. - Status changed to Needs work
4 months ago 12:19pm 2 January 2025 - 🇧🇪Belgium swentel
It needs to be added for the DS fields as well. Since it's only in D11, we can also just do this for detection:
(int) Drupal::VERSION >= 11
Will work on this one later this day