Implements hook_theme().
function paragraphs_theme() {
return array(
'paragraph' => array(
'render element' => 'elements',
),
'paragraphs_dropbutton_wrapper' => array(
'variables' => array(
'children' => NULL,
),
),
'paragraphs_info_icon' => [
'variables' => [
'message' => NULL,
'icon' => NULL,
],
],
'paragraphs_add_dialog' => [
'render element' => 'element',
'template' => 'paragraphs-add-dialog',
],
'paragraphs_actions' => [
'render element' => 'element',
'template' => 'paragraphs-actions',
],
'paragraphs_summary' => [
'render element' => 'element',
'template' => 'paragraphs-summary',
],
);
}