function paragraphs_previewer_theme in Paragraphs Previewer 7
Same name and namespace in other branches
- 8 paragraphs_previewer.module \paragraphs_previewer_theme()
Implements hook_theme().
File
- ./
paragraphs_previewer.module, line 301 - Provides a rendered preview of a paragraphs item on an entity form..
Code
function paragraphs_previewer_theme() {
return array(
'paragraphs_previewer_page' => array(
'render element' => 'page',
'template' => 'paragraphs-previewer-page',
'path' => drupal_get_path('module', 'paragraphs_previewer') . '/theme',
),
);
}