You are here

function range_theme in Range 8

Same name and namespace in other branches
  1. 6 range.module \range_theme()

Implements hook_theme().

File

./range.module, line 11
Defines a numeric range field type.

Code

function range_theme() {
  return [
    'range_formatter_range_combined' => [
      'variables' => [
        'item' => NULL,
        'field_prefix' => NULL,
        'value_prefix' => NULL,
        'value' => NULL,
        'value_suffix' => NULL,
        'field_suffix' => NULL,
      ],
    ],
    'range_formatter_range_separate' => [
      'variables' => [
        'item' => NULL,
        'field_prefix' => NULL,
        'from_prefix' => NULL,
        'from' => NULL,
        'from_suffix' => NULL,
        'range_separator' => NULL,
        'to_prefix' => NULL,
        'to' => NULL,
        'to_suffix' => NULL,
        'field_suffix' => NULL,
      ],
    ],
  ];
}