You are here

function resp_img_suffix_save in Responsive images and styles 7

Save a single suffix

File

./resp_img.module, line 112

Code

function resp_img_suffix_save(&$resp_img_suffix) {
  $update = isset($resp_img_suffix->id) && is_numeric($resp_img_suffix->id) ? array(
    'id',
  ) : array();
  return drupal_write_record('resp_img_suffix', $resp_img_suffix, $update);
}