You are here

function panelizer_load_default in Panelizer 6

Same name and namespace in other branches
  1. 7 panelizer.module \panelizer_load_default()

Fetch the panelizer default record for a panelizer name.

When configured properly, things can have default displays attached to them. This fetches the display, if there is one.

6 calls to panelizer_load_default()
panelizer_default_content_page in includes/admin.inc
Pass through to the panels content editor.
panelizer_default_layout_page in includes/admin.inc
Pass through to the panels layout editor.
panelizer_default_settings_page in includes/admin.inc
Page to configure basic settings for a panelizer default.
panelizer_has_choice_callback in ./panelizer.module
Menu callback to determine if a type has a choice of defaults.
panelizer_load_node_panelizer in includes/node.inc
Retrieve the panelizer panel associated with a node.

... See full list

File

./panelizer.module, line 387
panelizer.module

Code

function panelizer_load_default($type, $key, $name, $default_anyway = FALSE) {
  $load_name = $type . ':' . $key . ':' . $name;
  return _panelizer_load_default($type, $key, $name, $load_name, $default_anyway);
}