You are here

range.module in Range 8

Same filename and directory in other branches
  1. 6 range.module
  2. 7 range.module

Defines a numeric range field type.

File

range.module
View source
<?php

/**
 * @file
 * Defines a numeric range field type.
 */

/**
 * Implements hook_theme().
 */
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,
      ],
    ],
  ];
}

Functions

Namesort descending Description
range_theme Implements hook_theme().