You are here

function ds_field_ui_row_region in Display Suite 7

Same name and namespace in other branches
  1. 8.4 includes/field_ui.inc \ds_field_ui_row_region()
  2. 8.2 includes/field_ui.inc \ds_field_ui_row_region()
  3. 8.3 includes/field_ui.inc \ds_field_ui_row_region()
  4. 7.2 includes/ds.field_ui.inc \ds_field_ui_row_region()

Returns the region to which a row in the Field UI screen belongs.

Parameters

$row: The current row that is being rendered in the Field UI screen.

1 string reference to 'ds_field_ui_row_region'
ds_field_ui_regions in ./ds.field_ui.inc
Add Regions to 'Manage fields' or 'Manage display' screen.

File

./ds.field_ui.inc, line 321
Field UI functions for Display Suite.

Code

function ds_field_ui_row_region($row) {
  return isset($row['region']['#value']) ? $row['region']['#value'] : 'hidden';
}