function social_post_album_theme in Open Social 10.0.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_post/modules/social_post_album/social_post_album.module \social_post_album_theme()
- 10.1.x modules/social_features/social_post/modules/social_post_album/social_post_album.module \social_post_album_theme()
- 10.2.x modules/social_features/social_post/modules/social_post_album/social_post_album.module \social_post_album_theme()
Implements hook_theme().
File
- modules/
social_features/ social_post/ modules/ social_post_album/ social_post_album.module, line 17 - The Social post album module.
Code
function social_post_album_theme($existing, $type, $theme, $path) {
return [
'album_post_popup' => [
'variables' => [
'urls' => NULL,
'pid' => NULL,
],
],
'field__post__type__image__album' => [
'base hook' => 'field',
'render element' => 'element',
],
'image_widget__album' => [
'render element' => 'element',
],
];
}