Clone field

Categories

Component ID

2921455

Component name

Clone field

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This is a module to test various approaches to the UI for reusing a field. See #2717319: Provide better default configuration when re-using an existing field.

If you check out the tag 8.x-1.0, then you get something functionally equivalent to the patch from Comment #46 on that issue. Once you enable the module and visit /admin/structure/types/manage/page/fields (for the Basic page content type) there will be a new link, "Clone field", next to the "Add field" link. The new link takes you to /admin/structure/types/manage/page/fields/clone-field. This new form looks like the one at /admin/structure/types/manage/page/fields/add-field, but when you submit the new form, configuration will be copied from one of your existing content types.