function ds_field_ui_row_region in Display Suite 8.3
Same name and namespace in other branches
- 8.4 includes/field_ui.inc \ds_field_ui_row_region()
- 8.2 includes/field_ui.inc \ds_field_ui_row_region()
- 7.2 includes/ds.field_ui.inc \ds_field_ui_row_region()
- 7 ds.field_ui.inc \ds_field_ui_row_region()
Returns the region to which a row in the Field UI screen belongs.
Parameters
array $row: The current row that is being rendered in the Field UI screen.
Return value
string The region.
1 string reference to 'ds_field_ui_row_region'
- ds_field_ui_regions in includes/
field_ui.inc - Add Regions to 'Manage fields' or 'Manage display' screen.
File
- includes/
field_ui.inc, line 275 - Field UI functions for Display Suite.
Code
function ds_field_ui_row_region(array $row) {
return isset($row['region']['#value']) ? $row['region']['#value'] : 'hidden';
}