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.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Extra 'entity' module related simple modules stuff to improve user and developer expirience.
At the time it contains common API modul 'entity_extra' and three sub-modules:
- entity_extra_embed_context - provides an entity wrapper stack to get it from embedded entity. It could be useful to get wrappers trace when we render an entity by a some 'reference' or 'field_collection' modules field widget.
Note: just enable/disable main 'entity_extra_embed_context' module as nested modules will inherit parent module state.Note: context is pushing while 'hook_entity_view_mode_alter()' and poping while 'hook_entity_view_alter()' hooks calls.
You could get it in a nested entity i.e. from custom 'hook_FORM_ID_form_alter()' hook. - entity_extra_rules - provides three Rules actions at the time:
- Get the entity URL
- Get the entity identifiers
- Get the entity owner
- entity_extra_wrapper - wraps every entity by 'div' tag with class 'entity-extra-wrapper' to be able to get it by JS.
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Developer Tools
- Created by vadym.kononenko on , updated