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:

  1. 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.

  2. entity_extra_rules - provides three Rules actions at the time:
    • Get the entity URL
    • Get the entity identifiers
    • Get the entity owner
  3. entity_extra_wrapper - wraps every entity by 'div' tag with class 'entity-extra-wrapper' to be able to get it by JS.

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Module categories: Developer Tools
  • Created by vadym.kononenko on , updated