Skip to content

This module provides an additional formatter to render values in all core fields as HTML or comma-separated lists.

License

Notifications You must be signed in to change notification settings

backdrop-contrib/textformatter

Repository files navigation

Text Formatter

This module provides an additional formatter to render values in core fields as HTML or comma-separated lists. This works with taxonomy terms, entity reference fields, link fields, and text fields.

For multi-value fields, each field value becomes a list item. For long text fields, each line becomes a list item.

There is an option to sort if desired, including alphabetical, reverse alphabetical, and (for taxonomy terms) by term weight.

Text Formatter also provides hooks (see textformatter.api.php) so that other modules can register and implement listings for their field data. The textformatter_contrib module provides some implementations. This is bundled with this module. Currently entityreference, node reference, and link fields are supported.

Installation

Configuration

There is no special configuration for this module. You may configure it just as you would any other field formatter on the "Manage display" tab.

Text Formatter

Issues

Bugs and Feature requests should be reported in the Issue Queue

Current Maintainers

Credits

  • Ported to Backdrop CMS by Laryn Kragt Bakker.
  • Initial Backdrop port was sponsored by CEDC.org.
  • Initiated and maintained for Drupal 7 by Damian Lee.
  • Originally developed for Drupal 6 by Larry Garfield & Emily Brand (Palantir.net).

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

About

This module provides an additional formatter to render values in all core fields as HTML or comma-separated lists.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages