Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Text Snip Formatter

1 sites No security coverage Drupal 10 · not 11
View on drupal.org

This module allows you to control how text fields are displayed by letting you define specific snippets or portions of text to show. It's useful for creating custom summaries or excerpts of your content.

Text Snip Formatter is a Drupal module designed to provide enhanced control over the display of text fields by allowing users to define specific snippets or portions of text to be displayed. This functionality is particularly useful for creating customized summaries or excerpts of content.​

Please Note: This module requires no additional modules outside of Drupal core.​

Table of contents

  • Requirements
  • Installation
  • Configuration
  • Features
  • Works With
  • Use Case Examples
  • Supporting Organizations

Installation

Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.​

Configuration

  • Navigate to Administration » Structure » Content types, and select the content type you wish to configure.​
  • Click on the "Manage display" tab.​
  • Locate the text field you want to configure and click on the gear icon to adjust its display settings.​
  • From the "Format" dropdown menu, select "Text Snip Formatter".​
  • Configure the formatter settings as desired, specifying the snippet length or other parameters.​
  • Click "Update", then "Save" to apply the changes.​

Features

  • Custom Snippet Length: Define the exact length of text snippets to display for each text field.​
  • Flexible Configuration: Apply different snippet settings to various text fields across content types.​

Works With

Text Snip Formatter is designed to integrate seamlessly with Drupal core and other contributed modules that utilize field formatters, such as Views and Panels.​

Use Case Examples

  • Customized Teasers: Display tailored excerpts of content in teaser views, ensuring consistent and concise summaries.​
  • Content Previews: Provide readers with a glimpse of longer articles by showing a predefined portion of the text.​
  • Consistent Formatting: Maintain uniformity in how text snippets are presented across different sections of the site.​

Supporting this Module

If this module saves you time or adds value to your project, you can show your support in two ways:

  • Buy me a coffee to say thanks:
    https://buymeacoffee.com/tylerhastain
  • Want to contribute or sponsor development?
    Reach out directly if you're interested in helping improve or maintain the module — contributions, ideas, and support are always welcome!

Depends on

Dependencies of the latest stable release

  • field Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Apr 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.0 Stable 10 Apr 2, 2025
1.0.x-dev Dev 10 Apr 2, 2025