You are here

function paragraphs_previewer_theme in Paragraphs Previewer 8

Same name and namespace in other branches
  1. 7 paragraphs_previewer.module \paragraphs_previewer_theme()

Implements hook_theme().

File

./paragraphs_previewer.module, line 14
Provides a rendered preview of a paragraphs item on an entity form.

Code

function paragraphs_previewer_theme() {
  return [
    'paragraphs_previewer_modal_content' => [
      'variables' => array(
        'preview_url' => NULL,
      ),
      'file' => 'paragraphs_previewer.theme.inc',
    ],
  ];
}