function context_groups_region_callback in Context groups 8
Same name and namespace in other branches
- 8.2 includes/context_groups_ui.inc \context_groups_region_callback()
Get region for table row.
Parameters
array $row: Table row.
Return value
string Return region header.
3 string references to 'context_groups_region_callback'
- context_groups_add_groups_to_table in includes/
context_groups_ui.inc - Add context groups to the reaction table.
- context_groups_add_regions_to_table in includes/
context_groups_ui.inc - Add regions to Context reaction table.
- context_groups_reaction_ui_display_form_alter in includes/
context_groups_ui.inc - Alter the reaction table display.
File
- includes/
context_groups_ui.inc, line 331 - Altering display for reaction table.
Code
function context_groups_region_callback(array $row) {
return $row['#attributes']['data-region'];
}