Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

UI Suite DSFR feature

Security covered Under active development 28 sites

Part of the UI ecosystem · 45 projects

This module adds new blocks to the UI Suite DSFR theme, including features for displaying theme modes (light, dark, system), a consent banner, and a configurable block for multiple footer menus.

Add new features for the UI Suite theme UI Suite DSFR.

This module mainly exists to be able to provide blocks for the UI Suite DSFR theme.

Versions

2 branches are maintained:

Branch UI Suite DSFR version
1.0.x 1.0.x 1.1.x 1.1.x




Features

Feature UI Suite DSFR version
Display theme mode
Provides two new blocks, one to add the link display theme mode (light,dark and system) and one for the modal display theme mode
1.0, 1.1
Display consent banner
Provides one new block to add the consent banner.
1.0
Multiple menus footer top
Provides a new block with configuration capability to add multiple menu and order them. The block is rendered inside a menu with the footer top patterns of UI Suite DSFR.
1.0

Installation

Install as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/extending-drupal/installing-modules for further information.

Additional Requirements

Required : https://www.drupal.org/project/ui_suite_dsfr

How to use

-Install the module

Display theme mode

-Add the new block "UI Suite dsfr display button" to the header tools link region (or footer bottom)
-Add the new block "UI Suite dsfr display modal" to the content region

Display consent banner

-Add the new block "UI Suite dsfr Consent banner" to the content region

Multiple menus footer top

-Add the new block "footer top menu"
-Go to the configuration of the block
-Select multiple menus and order them

What is rendered

Display theme mode

You can edit the config of the block to set the wording. Also you can select what mode are available.
The link must be set inside header tool link or footer bottom regions to be rendered with the proper class. Also the modal needs to be inside the content region.

Display consent banner

You can edit the config of the block to set the wording. Also you can easily add multiple service for the consent manager part.
Concerning the services inside the consent manager, for now you can't add service below (nested servce)

Multiple menus footer top

Only one level can be rendered, in accordance with the menu top pattern specs. So by default the menu will render only the first level of menu. You have an option inside the configuration of block to start after the first level. In more you can flatten menu to get multiple level.

Welcome contirbution ideas

All ideas for new features not available or integrable through the theme are welcome. Don't hesitate to create a new issue

Ask your assistant about UI Suite DSFR feature

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
13
Tracked since
Oct 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 5
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-beta2 Pre-release 9–10 Oct 26, 2023
1.0.0-beta1 Pre-release 9–10 Oct 26, 2023
1.0.x-dev Dev 9–11 Oct 26, 2023