You are here

function paragraphs_theme in Paragraphs 8

Same name and namespace in other branches
  1. 7 paragraphs.module \paragraphs_theme()

Implements hook_theme().

File

./paragraphs.module, line 56
Contains paragraphs.module

Code

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',
    ],
  );
}