You are here

function socialfield_theme in Social field 7

Implements hook_theme().

File

./socialfield.module, line 572
Provides a field for adding social services links.

Code

function socialfield_theme($existing, $type, $theme, $path) {
  $themes = array(
    'socialfield_drag_components' => array(
      'render element' => 'element',
    ),
    'socialfield_formatter' => array(
      'variables' => array(
        'items' => NULL,
        'field' => NULL,
        'label' => NULL,
      ),
    ),
    'socialfield_form_table' => array(
      // The renderable element is the form.
      'render element' => 'form',
    ),
  );
  return $themes;
}