You are here

function signature_field_theme in Signature Field 8

Implements hook_theme().

File

./signature_field.module, line 35
An example field using the Field Types API.

Code

function signature_field_theme() {
  $theme = [];
  $theme['signature'] = [
    'render element' => 'element',
    'variables' => array(
      'sign_src' => '',
    ),
  ];
  return $theme;
}