You are here

function delta_merge in Delta 7.3

@todo

1 call to delta_merge()
delta_injection::config in plugins/delta/delta_injection.inc
@todo

File

./delta.module, line 241
Provide contextual theme settings via context module

Code

function delta_merge($first, $second) {
  if (is_array($first) && is_array($second)) {
    return array_merge($first, $second);
  }
  if (is_object($first) && is_object($second)) {
    return (object) array_merge((array) $first, (array) $second);
  }
  return $second;
}