You are here

function opigno_statistics_theme in Opigno statistics 8

Same name and namespace in other branches
  1. 3.x opigno_statistics.module \opigno_statistics_theme()

Implements hook_ENTITY_TYPE_access().

File

./opigno_statistics.module, line 19
Contains opigno_statistics.module.

Code

function opigno_statistics_theme() {
  return [
    'opigno_statistics_circle_indicator' => [
      'variables' => [
        'width' => NULL,
        'height' => NULL,
        'cx' => NULL,
        'cy' => NULL,
        'radius' => NULL,
        'x' => NULL,
        'y' => NULL,
        'val_rad' => NULL,
      ],
    ],
    'opigno_statistics_chart__user_per_day' => [
      'variables' => [
        'max_count' => NULL,
        'data' => NULL,
      ],
    ],
    'opigno_statistics_user_metric' => [
      'variables' => [
        'label' => NULL,
        'value' => NULL,
        'help_text' => NULL,
      ],
    ],
    'opigno_statistics_user_metrics' => [
      'render element' => 'elements',
    ],
    'opigno_statistics_circle_indicator_value' => [
      'variables' => [
        'label' => NULL,
        'value' => NULL,
        'help_text' => NULL,
      ],
    ],
  ];
}