This module allows you to create global content items which will be displayed on the whole website (ie. header, footer, block, etc.). By default, this module uses the "block" and "page" theme pre-process hooks (see ".module" file).
Usage
Here are steps to configure and display global content items:
- Go to "Content" > "Global Content" > "Global Content Settings"
- Go to "Manage fields" and add fields
- Go to "Content" > "Global Content" and click on "Add one" link
- Open the twig files corresponding to the place you want to display your global content items. Insert
{{ global_content_MY_FIELD_NAME }}where "MY_FIELD_NAME" is your field's machine name without the drupal "field_" prefix.
Supporting organizations:
D8 & D9 Development
D10 Development
Project information
- Project categories: Content editing experience
7 sites report using this module
- Created by jph2eolg8 on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
8.x-2.0-rc3
released 20 November 2024
Works with Drupal: ^8 || ^9 || ^10 || ^11
Install:
Development version: 8.x-2.x-dev updated 20 Nov 2024 at 17:02 UTC




