You are here

function paragraphs_table_theme in Paragraphs table 8

Same name and namespace in other branches
  1. 7 paragraphs_table.module \paragraphs_table_theme()

Implements hook_theme().

File

./paragraphs_table.module, line 276
Contains paragraphs_table.module.

Code

function paragraphs_table_theme($existing, $type, $theme, $path) {
  $variables = [
    'paragraphs_table_chart' => [
      'variables' => [
        'id_field_name' => 'paragraphs-table-chart',
        'settings' => NULL,
      ],
      'template' => 'paragraphs-table-chart',
    ],
  ];
  return $variables;
}