You are here

function webform_view_theme in Webform view 7

Same name and namespace in other branches
  1. 7.4 webform_view.module \webform_view_theme()

Declare our custom theme.

Catch the rendering of an embedded view at the end.

Implements hook_theme().

File

./webform_view.module, line 55
Allows views to be embedded in webforms and used as submission data.

Code

function webform_view_theme() {
  return array(
    'webform_view_embedded' => array(
      'render element' => 'element',
    ),
  );
}