Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Global Content

Security covered Under active development 3 sites

This module allows you to create reusable content items that can be displayed anywhere on your website, such as in headers, footers, or blocks.

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:

  1. Go to "Content" > "Global Content" > "Global Content Settings"
  2. Go to "Manage fields" and add fields
  3. Go to "Content" > "Global Content" and click on "Add one" link
  4. 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.

Ask your assistant about Global Content

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
2
Tracked since
Jul 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Releases

Version Type Core PHP Release date
8.x-2.0-rc3 Pre-release 8–11 Nov 20, 2024
8.x-2.0-rc2 Pre-release 8–10 Jul 24, 2023