You are here

function panels_load_include in Panels 5.2

Same name and namespace in other branches
  1. 6.3 panels.module \panels_load_include()
  2. 6.2 panels.module \panels_load_include()

Load a panels include file.

39 calls to panels_load_include()
panels_ajax_passthru in ./panels.module
Helper function for our AJAX stuff to call through to the right location
panels_allowed_layouts::list_layouts in includes/common.inc
Snag a list of the current layouts for internal use.
panels_common_get_allowed_types in includes/common.inc
Based upon the settings, get the allowed types for this node.
panels_common_get_layout_information in includes/common.inc
The layout information fieldset displayed at admin/edit/panel-%implementation%/add/%layout%.
panels_common_settings in includes/common.inc
A common settings page for Panels modules, because this code is relevant to any modules that don't already have special requirements.

... See full list

File

./panels.module, line 139
panels.module Core API for Panels. Provides display editing and rendering capabilities.

Code

function panels_load_include($include, $path = 'includes/') {
  require_once './' . panels_get_path("{$path}{$include}.inc");
}