You are here

function panels_page_default_panels in Panels 5.2

Same name and namespace in other branches
  1. 6.2 panels_page/panels_page.read.inc \panels_page_default_panels()

Get all 'default' panels.

5 calls to panels_page_default_panels()
panels_page_disable_page in panels_page/panels_page.admin.inc
Disable a default panel.
panels_page_enable_page in panels_page/panels_page.admin.inc
Enable a default panel.
panels_page_load in panels_page/panels_page.module
Load a panel page.
panels_page_load_all in panels_page/panels_page.module
Fetch all panel pages in the system.
panels_page_view_page in panels_page/panels_page.module
Page callback to view a panel page.

File

panels_page/panels_page.module, line 1100
panels_page.module

Code

function panels_page_default_panels() {
  $panels = module_invoke_all('default_panel_pages');
  if (!is_array($panels)) {
    $panels = array();
  }
  return $panels;
}