function social_content_block_theme in Open Social 8.7
Same name and namespace in other branches
- 8.6 modules/social_features/social_content_block/social_content_block.module \social_content_block_theme()
Implements hook_theme().
File
- modules/
social_features/ social_content_block/ social_content_block.module, line 97 - The Social Content Block module.
Code
function social_content_block_theme($existing, $type, $theme, $path) {
return [
'social_content_block' => [
'variables' => [
'title' => NULL,
'subtitle' => NULL,
'topics' => [],
'link' => NULL,
],
],
];
}