group_inline_entity_form
1 sites
No security coverage
Group linked entity
Introduction
This modules provides an IEF widget that supports group access checks. This widget extends the IEF widget (complex).
Usage
Use the provided widget instead of the "Inline entity form - Complex" that comes with IEF.
Under the hood
- The widget in this module extends the "Inline entity form - Complex" that comes with IEF.
- It overrides the
getCreateBundlesmethod to include checks on the group permissioncreate [plugin_id] entity. - The group to check access on is retrieved from the
group.group_route_contextcontext service. - The actual attachment of the created entity to the group is done the same way as IEF : In a class
WidgetSubmit, this may change once https://www.drupal.org/project/inline_entity_form/issues/3197629 lands.
Requirements
The only requirements are :
- Group (v3)
- Inline entity form
Maintainers
Current maintainers for Drupal 10 / 11:
- Adel Ben Yacoub (by-adel) - https://www.drupal.org/u/by-adel