This project is not covered by Drupal’s security advisory policy.
The Acquia Personalization Slots module adds a custom div slot wrapper to
selected rendered entities.
The initial conceptual use-case for this module is to automatically provide entity, bundle and/or content (i.e. uuid) specific markup in your html wrappers to allow for easier element selection from the Acquia Personalization Engine UI. Rather than relying on Product Owners or any other 'non-technical' users to make educated guesses on which wrappers to select, this module provides a simple, yet highly granular way for those users to select consistent markup when targeting elements for personalization.
In the admin UI, you can configure which entities will get the custom div wrappers, definable by entity, bundle and view mode.
In your custom div wrappers you can define which attribute to apply the value to, e.g. id, class, or a custom attribute like data-acquia-perz-slot. Additionally the custom wrapper supports tokens for uuid, entity type and bundle.
Fully configured examples are provided as defaults out of the box:
- id|acquia-perz-slot-[uuid]
- class|acquia-perz-slot acquia-perz-slot-[uuid] acquia-perz-slot-[entity_type] acquia-perz-slot-[entity_type]-[bundle]
- data-acquia-perz-slot|[uuid]
Project information
- Ecosystem: Acquia Personalization
- Created by jrockowitz on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
switch attributes rendering to use custom theme_wrapper
Development version: 1.0.x-dev updated 23 Mar 2023 at 14:09 UTC

