paragraphs_gantt-1.0.x-dev/paragraphs_gantt.module
paragraphs_gantt.module
<?php
/**
* @file
* Module for creating the Paragraphs Tabs format bootstrap component.
*/
/**
* Implements hook_theme().
*
* Call the base hook from Paragraphs to allow preprocess hooks to work.
*/
function paragraphs_gantt_theme() {
return [
'paragraphs_gantt_wrapper' => [
'render element' => 'element',
'template' => 'paragraphs-gantt-wrapper',
'variables' => [
'id' => 'gantt',
'id_gantt' => 'gantt',
'ajax' => '',
'add' => '',
'attributes' => '',
'paragraph_parent_id' => '',
'paragraph_parent_type' => '',
'paragraph_parent_field_name' => '',
'toolbar_text' => '',
'button_add_toolbar' => '',
'settings' => [],
],
],
];
}
