You are here

function dimension_theme in Dimension 2.0.x

Same name and namespace in other branches
  1. 7 dimension.module \dimension_theme()
  2. 2.1.x dimension.module \dimension_theme()

Implements hook_theme().

File

./dimension.module, line 6

Code

function dimension_theme() {
  return [
    'area_components_field_formatter' => [
      'variables' => [
        'width' => 0,
        'height' => 0,
      ],
    ],
    'volume_components_field_formatter' => [
      'variables' => [
        'width' => 0,
        'height' => 0,
        'length' => 0,
      ],
    ],
  ];
}