You are here

function ds_settings_status in Display Suite 6.3

Same name and namespace in other branches
  1. 6 includes/ds.display.inc \ds_settings_status()
  2. 6.2 includes/ds.display.inc \ds_settings_status()

Helper function to return readable name of status.

Parameters

boolean $status The status.:

1 call to ds_settings_status()
ds_layout_overview in includes/ds.display.inc
General overview page.

File

includes/ds.display.inc, line 127
Display overview form.

Code

function ds_settings_status($status) {
  $settings_status_descriptions = array(
    DS_SETTINGS_UI => t('Normal'),
    DS_SETTINGS_DEFAULT => t('Default'),
    DS_SETTINGS_OVERRIDDEN => t('Overridden'),
  );
  return $settings_status_descriptions[$status];
}