Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I added a field collection to a node type, and thought, 'Now what'?
It doesn't seem that there's a pathway to go from the field collection's normal field admin in the host entity to editing the fields on the collection.
Comments
Comment #1
joachim CreditAttribution: joachim commentedPossible ways to fix this:
- simple: show a message on creation of a field group with a link to edit its fields. simple, but the it's one-time only
- show help text on the FC field admin tabs with the links to edit its fields.
- show a local task link when in the 'edit' tab of the field collection field
- show the FC entity's 'manage fields' and 'manage display' tabs as tabs alongside the FC field's admin tabs (nice, but may cause some VERY deep menus, and a variety of form redirections may end up seeming broken).
Comment #2
RobW CreditAttribution: RobW commentedNice issue.
I think the best would be a field groups-like interface on the manage fields tab, with adding and drag and drop underneath the field collection, but that would probably involve a lot of custom code to create and update entity fields from the node field ui.
Comment #3
ghilsman CreditAttribution: ghilsman commentedI "second" the comment in #2. I might be naive about it, but seems like the code for this functionality could be borrowed from the field_group module and edited appropriately.
Comment #4
jmuzz CreditAttribution: jmuzz commentedThere is now a link to it in the "Default value" box on the field collection field's administration page.