You are here

function phonefield_theme in Phone Field 7

Implements hook_theme().

Formatters: 'phonefield_default' 'phonefield_separate_link' 'phonefield_separate_plain' 'phonefield_plain'

File

./phonefield.module, line 246
Hooks for a module that defines a simple phone number field type.

Code

function phonefield_theme() {
  return array(
    'phonefield_formatter_phonefield_default' => array(
      'variables' => array(
        'element' => NULL,
        'field' => NULL,
      ),
    ),
    'phonefield_formatter_phonefield_separate_link' => array(
      'variables' => array(
        'element' => NULL,
        'field' => NULL,
      ),
    ),
    'phonefield_formatter_phonefield_separate_plain' => array(
      'variables' => array(
        'element' => NULL,
        'field' => NULL,
      ),
    ),
    'phonefield_formatter_phonefield_plain' => array(
      'variables' => array(
        'element' => NULL,
      ),
    ),
    'phonefield_field' => array(
      'render element' => 'element',
    ),
  );
}