function brightcove_theme_suggestions_brightcove_video_alter in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 brightcove.module \brightcove_theme_suggestions_brightcove_video_alter()
- 3.x brightcove.module \brightcove_theme_suggestions_brightcove_video_alter()
Implements hook_theme_suggestions_HOOK_alter().
File
- ./
brightcove.module, line 316 - Brightcove module.
Code
function brightcove_theme_suggestions_brightcove_video_alter(array &$suggestions, array $variables) {
$suggestions[] = 'brightcove_video__' . strtr($variables['elements']['#view_mode'], '.', '_');
}