Skip to content

Instantly share code, notes, and snippets.

@damiankloip
Created June 16, 2012 14:34
Show Gist options
  • Save damiankloip/2941495 to your computer and use it in GitHub Desktop.
Save damiankloip/2941495 to your computer and use it in GitHub Desktop.
$array_view = (array) views_get_view('archive');
foreach ($array_view['display'] as $key => $display) {
$array_view['display'][$key] = (array) $display;
}
dpm($array_view);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment