You are here

function social_link_field_theme in Social Link Field 8

Implements hook_theme().

File

./social_link_field.module, line 11
Module implementing social link field type.

Code

function social_link_field_theme() {
  return [
    'social_link_field_formatter' => [
      'variables' => [
        'links' => NULL,
        'new_tab' => NULL,
        'appearance' => NULL,
        'attributes' => NULL,
      ],
      'template' => 'social-link-field-formatter',
    ],
    'field_multiple_value_no_draggable_form' => [
      'render element' => 'element',
      'template' => 'field-multiple-value-form',
    ],
  ];
}