Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Content Snippets

Security covered Maintenance fixes only 170 sites

This module allows content editors to create and manage reusable pieces of text directly within Drupal. These text snippets can then be easily inserted into content or used as tokens and within Twig templates, avoiding the need to hard-code content into custom code.

Content Snippets is a simple module that provides an administrative and content editor interface for editing small bits of text that can then be used by developers when they would be otherwise tempted to hard-code content into custom code, themes, etc. Then these bits of text can be controlled by Content Editors without developer intervention. The snippets are also available as global tokens and in twig.

This module is a potentially more powerful option if you need more significant configuration options, and the ability to create new configuration pages and fields beyond just content snippets: https://www.drupal.org/project/config_pages

Drupal 8–11

Ask your assistant about Content Snippets

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

Releases

Version Type Core PHP Release date
2.1.0 Stable 8–11 Mar 10, 2025
2.0.3 Stable 8–10 Dec 4, 2023