You are here

function _themekey_properties_implode_conditions in ThemeKey 6

Function _themekey_properties_implode_conditions().

1 call to _themekey_properties_implode_conditions()
_themekey_load_properties in ./themekey_build.inc
Function _themekey_load_properties().

File

./themekey_build.inc, line 300

Code

function _themekey_properties_implode_conditions($conditions) {
  $string = array();
  foreach ($conditions as $condition) {
    $string[] = $condition['property'] . $condition['operator'] . $condition['value'];
  }
  $string = implode('; ', $string);
  return $string;
}