slots
10 sites
Security covered
The slots module provides a "slot" functionality which can be used and
placed anywhere and allows "pushing" content based on conditions into these
placeholders.
This can be useful in different scenarios. Here some example user stories:
- You want to have a placeholder in a layout, where your content creator can
push content into, for example a CTA based on a node type. - In a default layout you have a piece of content, which you don't want to be
exported into your configuration yml files. Place a slot instead and add the
content later - In a default layout you have a piece of content, which you don't want to be
exported into your configuration yml files. Place a slot instead and add the
content later. - You want to show CTA's in a paragraph content structure, but it needs to be
flexible. Use slots_paragraph to place a slot and let it load condition based
content instead. - You need a piece of content above your view and don't want it to be getting
exported into your configuration. Use a slot instead and add the content
later.
Configuration
A detailed step-by-step description on how to setup your site to use slots can be found in the provided readme file.
Requirements
This module uses the "conditions_field" module as it's storage.