function paragraphs_theme in Paragraphs 7
Same name and namespace in other branches
- 8 paragraphs.module \paragraphs_theme()
Implements hook_theme().
File
- ./
paragraphs.module, line 1304 - Paragraphs hooks and common functions.
Code
function paragraphs_theme() {
return array(
'paragraphs_field_multiple_value_form' => array(
'render element' => 'element',
),
'paragraphs_bundle_settings_form' => array(
'render element' => 'form',
),
'paragraphs_items' => array(
'render element' => 'element',
'template' => 'paragraphs-items',
'path' => drupal_get_path('module', 'paragraphs') . '/theme',
'file' => 'paragraphs.theme.inc',
),
'paragraphs_item' => array(
'render element' => 'elements',
'template' => 'paragraphs-item',
'path' => drupal_get_path('module', 'paragraphs') . '/theme',
'file' => 'paragraphs.theme.inc',
),
'paragraphs_admin_overview' => array(
'variables' => array(
'bundle' => NULL,
),
'file' => 'paragraphs.admin.inc',
),
);
}