Skip to content
This repository has been archived by the owner on Jan 5, 2018. It is now read-only.

DEPRECATED: See https://drupal.org/project/fallback_formatter for latest code and issues - Provides a field formatter that can attempt multiple formatters and the first one that returns output wins.

Notifications You must be signed in to change notification settings

drupal-media/fallback_formatter

Repository files navigation

Fallback Formatter

Travis build status Scrutinizer code quality Fallback Formatter provides a field formatter that can attempt multiple formatters and the first one that returns output wins.

Installation

  1. Download Fallback Formatter from Drupal.org.
  2. Install it in the usual way.

Usage

Setup field formatter:

  • On admin/structure/types choose the content type you want to use for fallback formatter, for example Article.
  • Select Manage Display and go to admin/structure/types/manage/article/display.
  • Choose a field you want to use and in formatter settings define Fallback as the format.
  • In formatter settings under Enabled formatters check the formatters you want to use.
  • Under Formatter processing weight you can order the formatters, the first one that returns some result will be used.
  • Bellow the Formatter processing weight you can define settings for each enabled formatter if available.

About

DEPRECATED: See https://drupal.org/project/fallback_formatter for latest code and issues - Provides a field formatter that can attempt multiple formatters and the first one that returns output wins.

Resources

Stars

Watchers

Forks

Packages

No packages published