You are here

function social_media_links_theme in Social Media Links Block and Field 8.2

Same name and namespace in other branches
  1. 7 social_media_links.module \social_media_links_theme()

Implements hook_theme().

File

./social_media_links.module, line 13
Allows to add a block with the links to various social media platforms.

Code

function social_media_links_theme($existing, $type, $theme, $path) {
  return [
    'social_media_links_platforms' => [
      'variables' => [
        'platforms' => [],
        'appearance' => [],
      ],
    ],
  ];
}