You are here

function social_post_album_theme in Open Social 10.3.x

Same name and namespace in other branches
  1. 10.0.x modules/social_features/social_post/modules/social_post_album/social_post_album.module \social_post_album_theme()
  2. 10.1.x modules/social_features/social_post/modules/social_post_album/social_post_album.module \social_post_album_theme()
  3. 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',
    ],
  ];
}