You are here

function _template_field_group_multiple_suggestions in Field group multiple 7

Same name and namespace in other branches
  1. 7.x theme.inc \_template_field_group_multiple_suggestions()
3 calls to _template_field_group_multiple_suggestions()
template_preprocess_field_group_multiple_container in ./theme.inc
template_preprocess_field_group_multiple_label_value in ./theme.inc
template_preprocess_field_group_multiple_table in ./theme.inc

File

./theme.inc, line 345
Theme functions for field_group_multiple

Code

function _template_field_group_multiple_suggestions($suggestions_prefix, $group) {
  $theme_hook_suggestions = array();
  $theme_hook_suggestions[] = $suggestions_prefix . '__' . $group->group_name;
  $theme_hook_suggestions[] = $suggestions_prefix . '__' . $group->entity_type;
  $theme_hook_suggestions[] = $suggestions_prefix . '__' . $group->entity_type . '__' . $group->group_name;
  $theme_hook_suggestions[] = $suggestions_prefix . '__' . $group->entity_type . '__' . $group->bundle;
  $theme_hook_suggestions[] = $suggestions_prefix . '__' . $group->entity_type . '__' . $group->bundle . '__' . $group->group_name;
  return $theme_hook_suggestions;
}