You are here

function getlocations_fields_get_display_settings in Get Locations 7.2

Same name and namespace in other branches
  1. 7 modules/getlocations_fields/getlocations_fields.module \getlocations_fields_get_display_settings()
3 calls to getlocations_fields_get_display_settings()
getlocations_fields_field_insert in modules/getlocations_fields/getlocations_fields.module
Implements hook_field_insert(). Define custom insert behavior for this module's field types.
getlocations_fields_field_update in modules/getlocations_fields/getlocations_fields.module
Implements hook_field_update(). Define custom update behavior for this module's field types.
theme_getlocations_fields_show in modules/getlocations_fields/getlocations_fields.module

File

modules/getlocations_fields/getlocations_fields.module, line 3894
getlocations_fields.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_fields_get_display_settings($settings) {
  $display_settings_keys = getlocations_fields_get_display_settings_defaults();
  $display_settings = array();
  foreach ($display_settings_keys as $key => $dval) {
    $display_settings[$key] = isset($settings[$key]) ? $settings[$key] : $dval;
  }
  return $display_settings;
}