Icon boolean display

Categories

Component ID

1291154

Component name

Icon boolean display

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

2999

Component created

Component changed

Component body

This module's purpose is to display any boolean value in Drupal as an True/False icon. As for any other formatter, you must first choose it at field display level to see any changes. It currently:

  • supports displaying core's boolean checkbox field as an icon,
  • implements views field handler that displays boolean values as icons,
  • uses views field handler to display node status with icons,
  • uses views field handler to display comment status with icons.

Path to icons can be configured using two variables:

  • boolean_icon_true_ico
  • boolean_icon_false_ico.

Both variables store path to icon relative to Drupal root. There is currently no administration UI.